-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it easier to add new WP Super Cache plugins by outside code. (#574)
* Put plugins in wp-content/plugins/wp-super-cache-plugins/ Adding new plugins to WP Super Cache to extend it is complicated but where they should go should be easy. This patch makes the plugin check in a particular directory if it exists and load the PHP files there. The files there won't be deleted when WP Super Cache is updated. * Add $wpsc_plugins array with plugins to be loaded Add helper functions to add and delete plugin files from the list to be loaded by WP Super Cache: wpsc_add_plugin( $file ); wpsc_delete_plugin( $file ); And this function to return the list of plugins: wpsc_get_plugins(); * Add documentation on adding/deleting plugins.
- Loading branch information
Showing
3 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters