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

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


Parameters

$headers

Associative array of headers to be sent.

$wp

Current WordPress environment instance.


Source

File: wp-includes/class-wp.php

View on GitHub


Changelog

Changelog
Version Description
2.8.0 Introduced.