Filter hook 'wp_loading_optimization_force_header_contexts'

in WP Core File wp-includes/media.php at line 5858

Description

Filters the header-specific contexts.

Occurrences

Filename Line Number
wp-includes/media.php 5858

Parameters

Type Name Description
array $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.

PHP Doc

/**
		 * Filters the header-specific contexts.
		 *
		 * @since 6.4.0
		 *
		 * @param array $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.
		 */