How to disable the native WordPress lazy load function.
Paste the snippet below into your theme functions.php file:
/**
* Disable WordPress default image lazy load
**/
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
For those wondering why I think most sites should disable image lazy load, read this:
Since when does WP lazy loads images automatically? Why would plugins allow you to Enable it if its already happening by default?
It’s been recently done. https://make.wordpress.org/core/2020/07/14/lazy-loading-images-in-5-5/
Goddammit!
Hello
I find your topic on Google, i got problem on https://mobilecheats.edu.pl with lazy.
I add your code in functions.php but still show problem with lazy.
Can u tell me more how we can solved that problem?