Topic: Actions and Filters / Functions PHP File / WooCommerce / Wordpress
09 Feb 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' );
}