Created
April 26, 2022 15:43
-
-
Save lukecav/30c53435b740eaaab9b093575fe106f8 to your computer and use it in GitHub Desktop.
Disable lazy loading in WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'wp_lazy_loading_enabled', '__return_false' ); |
or define( 'WP_DISABLE_LAZY_LOADING', true ); in wp-config.php
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://make.wordpress.org/core/2020/07/14/lazy-loading-images-in-5-5/