Filters the threshold for how many of the first content media elements to not lazy-load.
For these first content media elements, the loading attribute will be omitted. By default, this is the case for only the very first content media element.
$omit_thresholdint
loading attribute will not be added. Default 3.$maybe_in_viewport = true;
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_omit_loading_attr_threshold