Skip to content

Commit

Permalink
Update beaver-cache-helper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Prosser authored Jan 2, 2018
1 parent cdaecbd commit a2823fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions beaver-cache-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Beaver Builder Cache Helper
* Description: This plugin will clear various caches when layouts and templates are saved. It also clears the cache when WordPress finishes updating plugins and themes. The plugin also defines the DONOTCACHEPAGE constant when the builder is active, this is respected by most cache plugins.
* Version: 1.1
* Version: 1.2
* License: GNU General Public License v2.0
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
Expand Down Expand Up @@ -60,11 +60,11 @@ public static function clear_caches() {
PagelyCachePurge::purgeAll();
}

// wp fastest cache
// wp fastest cache
if( class_exists( 'WpFastestCache' ) ) {
global $wp_fastest_cache;
$wp_fastest_cache->deleteCache( true );
}
}

error_log( 'Cleared Caches' );
}
Expand Down

0 comments on commit a2823fb

Please sign in to comment.