Men-disable Lazy Load

// DISABLE LAZY LOAD
if (!defined(‘ABSPATH’)) die();

add_filter(‘wp_lazy_loading_enabled’, ‘__return_false’);

function disable_lazy_load_featured_images($attr, $attachment = null) {
$attr[‘loading’] = ‘eager’;
return $attr;
}
add_filter(‘wp_get_attachment_image_attributes’, ‘disable_lazy_load_featured_images’);