Hi,
I've got a plugin (swmap) which returns a list of parameters:
I've got a plugin (swmap) which returns a list of parameters:
14 years 8 months ago #63548
"Members declared protected can be accessed only within the class itself and by inherited and parent classes. Members declared as private may only be accessed by the class that defines the member. " (php.net/manual/en/language.oop5.visibility.php)
You may need an additional function in your class that takes all this protected information and stores it in another publicly usable object/array - then the following would work...
You may need an additional function in your class that takes all this protected information and stores it in another publicly usable object/array - then the following would work...
echo $pluginParams->data->icon;