• Skip to primary navigation
  • Skip to main content
  • Skip to footer

WPJohnny

WordPress Performance Guides and Reviews

  • Start a WordPress site
  • Hosting
  • Themes
  • Plugins
  • Blogging
  • Marketing

Disable WordPress default LAZY LOAD

WordPress plugins Nov 18, 2020 by Johnny 3 Comments

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:

  • Why You Should (almost) NEVER Use Lazy Load

Share this post:

FacebookTwitterLinkedInWhatsAppEmailSMS

Read all my posts on WordPress plugins

About Johnny

Right on the edge of WordPress development! 10+ years of WordPress design, development, hosting, speed optimization, product advisor, marketing, monetization. I do all that.

More WordPress Guides

Clone database in phpMyAdmin (easy way)

Your Job is ALWAYS to Inspire

How to Use Public DNS Service (Google, Cloudflare, etc)

WP Compress vs ShortPixel – WordPress Image Compression Comparison

How to Get People to BUY From You

Plugin Script/Asset Organizer Review

Reader Interactions

3 Comments

  1. Regev

    November 19, 2020 at 12:22 pm

    Since when does WP lazy loads images automatically? Why would plugins allow you to Enable it if its already happening by default?

    Reply
    • Johnny

      November 19, 2020 at 3:29 pm

      It’s been recently done. https://make.wordpress.org/core/2020/07/14/lazy-loading-images-in-5-5/

      Reply
      • Regev

        November 19, 2020 at 11:15 pm

        Goddammit!

        Reply

Leave a Reply to Regev Cancel reply

Your email address will not be published. Required fields are marked *

Footer

More links

  • Gadget reviews
  • Try my free WPJ plugins
  • Join the WPJ FB Group
  • Watch my YouTube videos
  • Subscribe to my newsletter

Popular Reviews

  • Best WordPress Hosting
  • Best WordPress Themes
  • Best WordPress Plugins
  • Best WordPress Cache Plugins

Services

  • Speed optimization
  • Speed optimization courses
  • WordPress hosting
  • Hire me or other experts
  • Client login

About Johnny

10+ years of WordPress design, development, hosting, speed optimization, marketing.
Contact me.

newsletter block

Copyright 2021 | WordPress guides by Johnny Nguyen

Click to Copy