WordPress at a glance
filter is not described

woocommerce_enable_nocache_headers filter-hook . WC 1.0

Allow plugins to enable nocache headers. Enabled for Google weblight.


add_filter( 'woocommerce_enable_nocache_headers', 'filter_function_name_8366' );
function filter_function_name_8366( $enable_nocache_headers ){
	// filter...

	return $enable_nocache_headers;
Flag indicating whether to add nocache headers.
Default: false

Where the hook is called

woocommerce/includes/class-wc-cache-helper.php 50
if ( false !== strpos( $agent, 'googleweblight' ) || apply_filters( 'woocommerce_enable_nocache_headers', false ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.