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



wp_loading_optimization_force_header_contexts › WordPress Filter Hooks

Since6.4.0
Deprecatedn/a
apply_filters( 'wp_loading_optimization_force_header_contexts', $header_enforced_contexts )
Parameters:
  • () default_header_enforced_contexts Map of contexts for which elements should be considered in the header of the page, as $context => $enabled pairs. The $enabled should always be true.
    Required: Yes
Defined at:
Codex:

Filters the header-specific contexts.





Source

$header_enforced_contexts = apply_filters( 'wp_loading_optimization_force_header_contexts', $header_enforced_contexts );