w3tc_is_cacheable_content_type

w3tc_is_cacheable_content_type

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

See hook in core

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

apply_filters('w3tc_is_cacheable_content_type') is found 1 times:

  • /PgCache_ContentGrabber.php line 2010
    				$content_type = trim( $m[1] );
    			}
    		}
    
    		$cache_headers = apply_filters( 'w3tc_is_cacheable_content_type',
    			array(
    				'' /* redirects, they have only Location header set */,
    				'application/json', 'text/html', 'text/xml', 'text/xsl',
    				'application/xhtml+xml', 'application/rss+xml',
    				'application/atom+xml', 'application/rdf+xml',
    				'application/xml'