Call to Plugin functions
-
Some logic to be used is more complex and requires a custom function to call to.
Placing functions in functions.php or utilizing something like My Custom Functions is great and all, but I’m looking to keep all customizations centralized in a plugin I can version and migrate as needed.
Is there any way to call to functions defined in a plugin?
I’ve tried accessing my global variable (instance of the plugin class – $myplugin->my_func()) and coding functions directly in the plugin’s main file. Seems as none are visible at the time/location the visibility eval (line 318) is done.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Call to Plugin functions’ is closed to new replies.