apply_filters( 'nocache_headers', array $headers )
Filters the cache-controlling headers.
Description
See also
Parameters
-
$headers
array -
Header names and field values.
Source
File: wp-includes/functions.php
.
View all references
$headers = (array) apply_filters( 'nocache_headers', $headers );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Typically, you can call WordPress’ nocache_headers() function when you don’t want content to be cached.