apply_filters( ‘nocache_headers’, array $headers )

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 );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.