extra_{$context}_headers WordPress Filter Hook

The extra_{$context}_headers Wordpress hook is used to add extra HTTP headers to the response for the specified context.

apply_filters( "extra_{$context}_headers", array $extra_context_headers ) #

Filters extra file headers by context.


Description

The dynamic portion of the hook name, $context, refers to the context where extra headers might be loaded.


Top ↑

Parameters

$extra_context_headers

(array)Empty array by default.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More