MainWP Community

Disable Lazy Loading in WordPress 5.4

Disable the lazy loading feature in WordPress 5.4 on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'wp_lazy_loading_enabled', '__return_false' );
2 Likes

WordPress 5.4 on track to be released at the end of March will add a native lazy loading feature into WordPress core.


2 Likes