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
Improve WordPress backend Speed (wp-admin)
10 proper ways to mitigate your slow WP-admin backend. If you’re frustrated…
How to Serve WebP Format Images in WordPress
WebP is a modern format for serving images faster than ever. If you…
The BEST WordPress theme (for non-coders) – GeneratePress
I think I’m ready to crown GeneratePress as the best theme framework…
How to Get AdSense Approval
In this guide, you’ll learn how to get approved by Google Adsense…