• Resolved sasakure333

    (@sasakure333)


    Hi

    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 2 years, 3 months ago by sasakure333.
  • The topic ‘[litespeed_purge_all] does not work.’ is closed to new replies.