is_lazy_load_background_images_enabled() ) {
return;
}
add_action( 'wp_head', function() {
if ( ! $this->should_lazyload() ) {
return;
}
?>
should_lazyload() ) {
return;
}
?>
preview->is_preview_mode() && ! Plugin::$instance->editor->is_edit_mode();
}
private static function is_lazy_load_background_images_enabled(): bool {
return '1' === get_option( 'elementor_lazy_load_background_images', '1' );
}
}