manager, 'replace_content' ], 10 ); } /** * Should we early load the compatibility? * * @return bool Whether to load the compatibility or not. */ public function should_load_early() { return true; } /** * Clear cache on wp fastest cache. * * @param string|bool $location The location to clear the cache for. If true, clear the cache globally. If a string, clear the cache for a particular url. * @return void */ public function add_clear_cache_action( $location ) { if ( $location === true ) { do_action( 'wpfc_clear_all_cache', true ); } if ( is_string( $location ) ) { // TODO Right now the plugin doesn't support clearing cache for a particular url. } } }