w3tc_can_cache

w3tc_can_cache

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

See hook in core

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

apply_filters('w3tc_can_cache') is found 1 times:

  • /PgCache_ContentGrabber.php line 449
    		$response_headers = $this->_get_response_headers();
    
    		// TODO: call modifies object state, rename method at least
    		$original_can_cache = $this->_can_write_cache( $buffer, $response_headers );
    		$can_cache = apply_filters( 'w3tc_can_cache', $original_can_cache, $this, $buffer );
    		if ( $can_cache != $original_can_cache ) {
    			$this->cache_reject_reason = 'Third-party plugin has modified caching activity';
    		}
    
    		if ( $this->_debug ) {
    			self::log( 'storing cached page: ' .