apply_filters( 'wp_lazy_loading_enabled', bool $default, string $tag_name, string $context )

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

Parameters Parameters


(bool) Default value.


(string) The tag name.


(string) Additional context, like the current filter name or the function name from where this was called.

Top ↑

Source Source

File: wp-includes/media.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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