wp_high_priority_element_flag( bool   $value  =  null  ): bool

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Accesses a flag that indicates if an element is a possible candidate for fetchpriority='high' .

Parameters

$value bool optional
Used to change the static variable.

Default: null

Return

bool Returns true if high-priority element was marked already, otherwise false.

Source

 function wp_high_priority_element_flag( $value = null ) { static $high_priority_element = true; if ( is_bool( $value ) ) { $high_priority_element = $value; } return $high_priority_element; }

Changelog

Version Description
6.3.0 Introduced.

User Contributed Notes

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