Osclass Support Forums
Osclass plugin support => Business Profile Plugin => Topic started by: MagicM on May 01, 2019, 03:25:13 PM
-
How can i change dir name from URL/companies?
I mean, in which files is coded the "companies" reference so I can replace with a custom one?
In case of updates will be needed the same replacement as I expect or is a one-time process?
Thanks
-
@MagicM
You can find osc_add_route function in index.php of plugin, urls are generated here
-
Thank you,
so if I rename the 2 instances here all is going smooth until next update?
osc_add_route('bpr-list', 'companies', 'companies', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');
-
Yes