Plugin dependency management
Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php (after the opening
Nothing. The Depends: header will simply be ignored.
Yes, the dependency chain can go as deep as you want.
Say you have some useful functions that you would like to package up as a library plugin:
/* Plugin Name: Facebook Lib Provides: lib-facebook */
Now, dependant plugins can specify 'lib-facebook' as a dependency:
/* Plugin Name: Cool Facebook Plugin Depends: lib-facebook */
Besides being more robust, the Provides: header allows multiple plugins to implement the same set of functionality and be used interchangeably.
Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2013-11-17
0 of 2 support threads in the last two months have been resolved.
Got something to say? Need help?