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

In this article

Filters the loading optimization attributes.

Parameters

$loading_attrsarray
The loading optimization attributes.
$tag_namestring
The tag name.
$attrarray
Array of the attributes for the tag.
$contextstring
Context for the element for which the loading optimization attribute is requested.

Source

* @param string $tag_name      The tag name.

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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