apply_filters( 'nocache_headers', array $headers )

Filters the cache-controlling headers.


Description

See also


Parameters

$headers

(array) Header names and field values.

  • 'Expires'
    (string) Expires header.
  • 'Cache-Control'
    (string) Cache-Control header.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.