WordPress at a glance
filter is not described

wp_headers filter-hook . WP 2.8.0

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


add_filter( 'wp_headers', 'filter_function_name_8741', 10, 2 );
function filter_function_name_8741( $headers, $this ){
	// filter...

	return $headers;
Associative array of headers to be sent.
Current WordPress environment instance.

Where the hook is called

wp-includes/class-wp.php 485
$headers = apply_filters( 'wp_headers', $headers, $this );

Where the hook is used (in WP core)

wp-includes/class-wp-customize-manager.php 1856
add_filter( 'wp_headers', array( $this, 'filter_iframe_security_headers' ) );