apply_filters( 'nocache_headers', array $headers )

Filters the cache-controlling headers.

Description

See also

Parameters

$headers

(array) Header names and field values.

  • 'Expires'
    (string) Expires header.
  • 'Cache-Control'
    (string) Cache-Control header.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.