• joejamin

    (@joejamin)


    Any idea why this wprocket action works, but the SWCFPC doesn’t? The cron purge url does work BTW.

    add_action( 'advanced-ads-ad-status-unpublished', function() {
        if ( function_exists( 'rocket_clean_domain' ) ) {
    	rocket_clean_domain();
        }
    });
    add_action( 'advanced-ads-ad-status-published', function() {
        if ( function_exists( 'swcfpc_purge_cache' ) ) {
    	swcfpc_purge_cache();
        }
    });

    Any help would be greatly appreciated. Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Purge cache action’ is closed to new replies.