Closed azaozz closed 4 years ago
wp_add_lazy_loading_to()
wp_add_lazy_loading_to( 'img', 'post_content' )
Globally enabling/disabling for all supported tags is still supported with add_filter( 'wp_add_lazy_loading_to', '__return_true' ); or __return_false.
add_filter( 'wp_add_lazy_loading_to', '__return_true' );
__return_false
wp_add_lazy_loading_to()
. Example:wp_add_lazy_loading_to( 'img', 'post_content' )
.Globally enabling/disabling for all supported tags is still supported with
add_filter( 'wp_add_lazy_loading_to', '__return_true' );
or__return_false
.