Filters the cache-controlling HTTP headers that are used to prevent caching.
Description
See also
Parameters
$headers
array- Header names and field values.
Source
$headers = (array) apply_filters( 'nocache_headers', $headers );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
Typically, you can call WordPress’ nocache_headers() function when you don’t want content to be cached.