You can manage WordPress lazy loading with the loading
parameter. Below code echo’s your image without using the lazy load function.
echo wp_get_attachment_image( $image, $size, false, [
'class' => 'your-class-here',
'loading' => 'eager'
] );
You can manage WordPress lazy loading with the loading
parameter. Below code echo’s your image without using the lazy load function.
echo wp_get_attachment_image( $image, $size, false, [
'class' => 'your-class-here',
'loading' => 'eager'
] );