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.

Usage

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

	return $enable_nocache_headers;
}
$enable_nocache_headers(true|false)
Flag indicating whether to add nocache headers.
Default: false

Where the hook is called

WC_Cache_Helper::additional_nocache_headers()
woocommerce_enable_nocache_headers
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.