wp_maybe_add_fetchpriority_high_attr


wp_maybe_add_fetchpriority_high_attr ( $loading_attrs, $tag_name, $attr )

Access:
  • private
Parameters:
  • (array) loading_attrs Array of the loading optimization attributes for the element.
  • (string) tag_name The tag name.
  • (array) attr Array of the attributes for the element.
Returns:
  • (array) Updated loading optimization attributes for the element.
Defined at:

Description

Determines whether to add `fetchpriority='high'` to loading attributes.

Related Functions

wp_img_tag_add_decoding_attr, wp_img_tag_add_width_and_height_attr, wp_img_tag_add_loading_attr, wp_maybe_decline_date, wp_iframe_tag_add_loading_attr

Top Google Results

User discussions

wpseek mobile