wp_lazy_loading_enabled – filter

Filters whether to add the `loading` attribute to the specified tag in the specified context. 

Parameters

.
( 5.5.0 ) . .
( bool ) $default Default value. . . .
$tag_name
( string ) The tag name. . . .
$context
( string ) Additional context, like the current filter name or the function name from where this was called. . . .
API Letters: ,,

Implementers