Support » Plugin: Breeze - WordPress Cache Plugin » Programmatically Purge Cache?

  • W3 and Autoptimize have access to the “Purge Everything” kind of action as follows

    if (class_exists('autoptimizeCache'))
         autoptimizeCache::clearall();
    
    if( class_exists('W3_Plugin_TotalCacheAdmin') ) {
    	$plugin_totalcacheadmin = & w3_instance('W3_Plugin_TotalCacheAdmin');
    	$plugin_totalcacheadmin->flush_all();
    }

    Does Breeze expose a similar functionality?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author adeelkhan

    (@adeelkhan)

    Breeze offers a “Purge All Cache” functionality. You can compare the operation of this functionality with the plugins you mentioned in the question.

    Thank you for that.

    Can you provide the code to use in my PHP to purge the cache? I don’t want to use the wp-admin interface.

    Plugin Author adeelkhan

    (@adeelkhan)

    Breeze is free to use and modify. Download the zip and extract the relevant section of the code.

    Can you point me to the relevant code? What function call will trigger a cache purge?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.