How to Hide Promoted and Featured List...
This code snippet allows you to easily hide or remove the “Promoted” and ...

WPCodeBox
648
Prevent accidental lightbox pop-ups! This WooCommerce code snippet helps website owners remove product image thumbnail links on single product pages, enhancing user experience and site control.
/**
* Author: WP Turned UP
* Author URI: https://wpturnedup.com
*/
add_filter('woocommerce_single_product_image_thumbnail_html','wc_remove_link_on_thumbnails' );
function wc_remove_link_on_thumbnails( $html ) {
return strip_tags( $html,'<img>' );
}





