Disable Native Lazy Loading
Removes the loading="lazy" attribute WordPress adds to images and iframes. Use it when another plugin handles lazy loading or it conflicts with a slider.
Opens WPIDE on
Code
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.