apply_filters ( ‘wp_loading_optimization_force_header_contexts’, array $default_header_enforced_contexts  )

In this article

Filters the header-specific contexts.

Parameters

$default_header_enforced_contexts array
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.

Source

 * @param array $default_header_enforced_contexts Map of contexts for which elements should be considered

Changelog

Version Description
6.4.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.