wpseek.com
A WordPress-centric search engine for devs and theme authors



extra_{$context}_headers › WordPress Filter Hooks

Since2.9.0
Deprecatedn/a
apply_filters( "extra_{$context}_headers", array()
Parameters:
  • () extra_context_headers Empty array by default.
    Required: Yes
Defined at:
Codex:

Filters extra file headers by context.

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




Source

$extra_headers = $context ? apply_filters( "extra_{$context}_headers", array() ) : array();