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



wp_headers › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'wp_headers', $headers, $this )
Parameters: (2)
  • (string[]) $headers Associative array of headers to be sent.
    Required: Yes
  • (WP) $wp Current WordPress environment instance.
    Required: Yes
Defined at:
Codex:

Filters the HTTP headers before they're sent to the browser.





Source

$headers = apply_filters( 'wp_headers', $headers, $this );