add_filter('woocommerce_single_product_image_thumbnail_html', my_remove_product_image_link, 10, 1); function my_remove_product_image_link { return strip_tags($html, '