Table of Contents
Cache Purge Helper
A plugin to trigger a cache purge using the LSCache or Nginx Helper plugin when hooks are fired by popular plugins or themes.
I created a plugin with some code snippets from GridPane Staff and Community to trigger a cache purge in certain circumstances. Below you’ll find a list of hooks and their description.
Core WordPress Hooks
- upgrader_process_complete – After a plugin, theme or core has been updated.
- activated_plugin – After a plugin has been activated.
- deactivated_plugin – After a plugin has been deactivated.
- switch_theme – After a theme has been changed.
Page Guilder Hooks
Cache + Optimization Plugin Hooks
GridPane Specific Information
As always, you should have the Nginx Helper plugin installed and configured. However, it does not purge the cache when a plugin, theme or core update is completed.
If you have any issues, open an issue on the Github repository.
Nothing yet 🙂