extra_(context)_headers filter-hook . WP 2.9.0
Filters extra file headers by context.
The dynamic portion of the hook name, $context, refers to the context where extra headers might be loaded.
Usage
add_filter( 'extra_(context)_headers', 'filter_function_name_2870' ); function filter_function_name_2870( $extra_context_headers ){ // filter... return $extra_context_headers; }
- $extra_context_headers(array)
- Empty array by default.
Changelog
Since 2.9.0 | Introduced. |
Where the hook is called
extra_(context)_headers
wp-includes/functions.php 6134
$extra_headers = $context ? apply_filters( "extra_{$context}_headers", array() ) : array();