Replies: 0
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.