On this page
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_headersarray-
Empty array by default.
Source
File: wp-includes/functions.php. View all references
$extra_headers = $context ? apply_filters( "extra_{$context}_headers", array() ) : array();
Related
Used By
| Used By | Description |
|---|---|
| get_file_data() wp-includes/functions.php | Retrieves metadata from a file. |
Changelog
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/extra_context_headers