Filters whether to short-circuit loading optimization attributes.
Description
Returning an array from the filter will effectively short-circuit the loading of optimization attributes, returning that value instead.
Parameters
$loading_attrs
array|false- False by default, or array of loading optimization attributes to short-circuit.
$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
}
Changelog
Version | Description |
---|---|
6.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.