Conversation
In some cases the plugin is initialized without the include of plugin functions. In those cases we need to load them first.
|
Hi Paolo, |
|
PS: I cannot find any information about that in the WP.org (https://developer.wordpress.org/reference/functions/get_plugin_data/). |
|
PPS: OK, with all other plugins disabled, and with the default WP theme (Twenty Twenty-Two), I do get the following error: :-( The WordPress developer documentation is full of traps... Not mentioning that this function may not be loaded by default (even in the admin) is a real pitfall. -> as a fix, I would rather defining the |
|
@paolofantozzi I've issued a new version that fixes the above-mentioned error, using a different fix than what you proposed. Still, thanks for reporting. |
|
Thank you for your efficiency! |
In some cases the plugin is initialized without the include of plugin functions. In those cases we need to load them first.