[wp-hackers] Plugin dependency checking

scribu scribu at gmail.com
Sat Jun 13 11:31:28 GMT 2009


>
> Ok, thanks for the pointers. I'll see if I can manage to pull off the
> activation hook workaround without modifying the active_plugins list.
>

So I've managed to call a function from the parent plugin when the child
plugin is activated (yes, I actually need that), without interfering with
the loading order:

Parent plugin: http://wp.pastebin.ca/1458835
Child plugin: http://wp.pastebin.ca/1458837

I just wrote it to see if it can be done.

--
http://scribu.net


More information about the wp-hackers mailing list