I just want to add functions like sites_get_domain_by_domainname etc to check a site exists before creating it but obviously don't want to edit the core files.
If I were to make a new file and include it from the config file (doesn't get over written?) and made a class which extends the remoting class, then changed interface/web/remote.index.php to read $app->load('remoting_other_class');.. would that work?
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
Quote:
Is it possible to extend the API using plugins?
No.
Quote:
I just want to add functions like sites_get_domain_by_domainname etc to check a site exists before creating it but obviously don't want to edit the core files.
No need to add a new function for that, you can esily do this with the current functions:
Recent comments
5 hours 12 min ago
11 hours 54 min ago
15 hours 44 min ago
17 hours 23 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 12 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 20 hours ago