<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>[litespeed_purge_all] does not work.

Replies: 0


Probably since I have the latest version of WordPress, the automatic cache purge using [litespeed_purge_all] by wp-cron no longer works.

Is there any way to resolve this?

function autoPurgeCache() {
  if( defined('LSCWP_V')) {
    do_action( 'litespeed_purge_all' );
add_action ( 'ls_auto_purge_cache_cron', 'autoPurgeCache' );

Sorry, I had tried several times and it was working fine.
I will withdraw this.

  • This topic was modified 11 minutes ago by sasakure333.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer