Remove WooCommerce Lightbox and Zoom

// --------Remove lightbox, zoom and slider
add_action( 'after_setup_theme', 'remove_image_addons', 99 );
 
function remove_image_addons() { 
remove_theme_support( 'wc-product-gallery-zoom' );
remove_theme_support( 'wc-product-gallery-lightbox' );
remove_theme_support( 'wc-product-gallery-slider' );
}
No Comments

Sorry, the comment form is closed at this time.