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_attrsarray|false- False by default, or array of loading optimization attributes to short-circuit.
$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
! ( empty( $info[0] ) && empty( $info[1] ) )
Changelog
| Version | Description |
|---|---|
| 6.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.