Closed nelsencd closed 7 years ago
Thanks for this!
I'll add it to the next release but I'm thinking of dropping $site_id
as a parameter. Since we always are operating within the scope of a specific site within the class instance, adoption of an AP to the current site ($this->site
) make most sense. Also, you don't appear to be using it within the function/method.
Do you agree?
I have another php script that I use to call this function to run it. That's also why I have the $site_id parameter.
Ah, I see, would not be necessary in the public version then. Thanks again for the contribution!
published with API client class version 1.0.13
I have created an adoption function that you could add to you API.