apply_filters ( ‘wp_get_loading_optimization_attributes’, array $loading_attrs , string $tag_name , array $attr , string $context  )

Filters the loading optimization attributes.

Parameters

$loading_attrs array
The loading optimization attributes.
$tag_name string
The tag name.
$attr array
Array of the attributes for the tag.
$context string
Context for the element for which the loading optimization attribute is requested.

Source

 return apply_filters( 'wp_get_loading_optimization_attributes', $loading_attrs, $tag_name, $attr, $context );

Changelog

Version Description
6.4.0 Introduced.

User Contributed Notes

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