Wordpress LScache Plugin: Hook for purge all
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi. Could you kindly provide a hook I can put in my custom PHP plugin to show the purge all shortcut on the LS menu in the front end? It is not intuitive to always keep going to the back end to purge everything. Hi, You mean you want to have your PHP plugin to do purge all ? Please try integrate the purge API Best regards, Not really. I just want to show the shortcut on the frontend. I thought there was a hook to do it. I use the plugin I mentioned kynda like functions.php but as a plugin. Sure. Added to https://github.com/litespeedtech/lscache_wp/commit/66b30cbe24186d4a275738f42aef3379c6514343 . Will be in v3.0. Thanks Thanks for this. Cheers!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference