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