apply_filters( 'wp_headers', string[] $headers, WP $this )

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


Description


Parameters

$headers

(string[]) Associative array of headers to be sent.

$this

(WP) Current WordPress environment instance.


Top ↑

Source

File: wp-includes/class-wp.php

View on Trac


Top ↑

Changelog

Version Description
2.8.0 Introduced.