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.
Parameters
- $extra_context_headers
(array)Empty array by default.
Source
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |