WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Enhancement: Dump caches if using caching plugins

[Resolved] Enhancement: Dump caches if using caching plugins

  • It would be great if you would enable dumping the cache if you are using a caching plugin (either of the big two) using the following code when enabled/disabled:

    // Clear Super Cache if enabled
    if ( function_exists( 'wp_cache_clear_cache' ) ) {
    	ob_end_clean();
    	wp_cache_clear_cache();
    }
    
    // Clear W3 Total Cache if enabled
    if ( function_exists( 'w3tc_pgcache_flush' ) ) {
    	ob_end_clean();
    	w3tc_pgcache_flush();
    }

    https://wordpress.org/plugins/easy-pie-maintenance-mode/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Enhancement: Dump caches if using caching plugins’ is closed to new replies.