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:
Latest Guides
Is WordPress insecure? (no, it isn’t!)
I think it’s a silly question and often misinterpreted by newbies/non-coders for…
The FASTEST Lightweight WordPress Themes
Why do we want a lightweight theme? Besides getting rid of unnecessary…
Improve WordPress Security
There are some simple tweaks you can do to prevent some popular…
Why You Should (almost) NEVER Use Lazy Load
I hate hate hate lazy load. Why? Because it hurts UX (user…