WordPress at a glance
filter is not described

nocache_headers filter-hook . WP 2.8.0

Filters the cache-controlling headers.


add_filter( 'nocache_headers', 'filter_function_name_8339' );
function filter_function_name_8339( $headers ){
	// filter...

	return $headers;

Header names and field values.

  • $Expires (string)
    Expires header.

  • $Cache-Control (string)
    Cache-Control header.

Where the hook is called

wp-includes/functions.php 1129
$headers = (array) apply_filters( 'nocache_headers', $headers );

Where the hook is used (in WP core)

Does not used.