A WordPress-centric search engine for devs and theme authors



nocache_headers ›

Since2.8.0
Deprecatedn/a
apply_filters( 'nocache_headers', $headers )
Parameters:
  • (array) $headers { Header names and field values. @type string $Expires Expires header. @type string $Cache-Control Cache-Control header. }
    Required: Yes
See:
  • wp_get_nocache_headers()
Defined at:
Codex:

Filters the cache-controlling headers.





Source

$headers = (array) apply_filters( 'nocache_headers', $headers );