wpseek.com
A WordPress-centric search engine for devs and theme authors



nocache_headers › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'nocache_headers', $headers )
Parameters:
  • () headers Header names and field values.
    Required: Yes
See:
  • wp_get_nocache_headers()
Defined at:
Codex:

Filters the cache-controlling HTTP headers that are used to prevent caching.





Source

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