Filter hook 'wp_headers'

in WP Core File wp-includes/class-wp.php at line 558

Description

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

Occurrences

Filename Line Number
wp-includes/class-wp.php 558

Parameters

Type Name Description
string[] $headers Associative array of headers to be sent.
WP $wp Current WordPress environment instance.

PHP Doc

/**
		 * Filters the HTTP headers before they're sent to the browser.
		 *
		 * @since 2.8.0
		 *
		 * @param string[] $headers Associative array of headers to be sent.
		 * @param WP       $wp      Current WordPress environment instance.
		 */