w3tc_preflush_posts

w3tc_preflush_posts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: w3-total-cache.2.8.2

apply_filters('w3tc_preflush_posts') is found 1 times:

  • /CacheFlush_Locally.php line 165
    	 * Purges/Flushes page contents - page cache, varnish and cdn cache
    	 * When global changes affect whole content but not internal data structures
    	 */
    	function flush_posts( $extras = null ) {
    		$do_flush = apply_filters( 'w3tc_preflush_posts', true, $extras );
    		if ( $do_flush )
    			do_action( 'w3tc_flush_posts', $extras );
    	}
    
    	/**
    	 * Flushes all enabled caches.