On this page
apply_filters( 'nocache_headers', array $headers )
Filters the cache-controlling headers.
Description
See also
Parameters
$headersarray-
Header names and field values.
Source
File: wp-includes/functions.php. View all references
$headers = (array) apply_filters( 'nocache_headers', $headers );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_nocache_headers() wp-includes/functions.php | Gets the header information to prevent caching. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/nocache_headers