Log in

View Full Version : Any way to execute a specific plugin?


tgmorris
09-11-2007, 07:03 AM
I'd like to use an existing plugin more or less as a function to another piece of code. I know I can use the hook location and execute all the code located at that hook but is there any way to execute a specific set of code using the plugin name or some such?

Marco van Herwaarden
09-11-2007, 07:38 AM
Move the code from the plugin into a file as a function, include the file in your plugin(s) and call the function.