Home / Disable Lazy Load
Duplicate Snippet

Embed Snippet on Your Site

Disable Lazy Load

Prevent WordPress from adding the lazy-load attribute to all images and iframes.

800+
Code Preview
php
<?php
add_filter( 'wp_lazy_loading_enabled', '__return_false' );

Comments

Add a Comment