Created
August 19, 2013 19:52
-
-
Save BFTrick/6273288 to your computer and use it in GitHub Desktop.
Hide the Product Gallery images on the single product page in WooCommerce. From ticket #89461. Also on WordPress Answers (http://wordpress.stackexchange.com/questions/110770/hide-woocommerce-product-gallery-images/110771#110771) The number at the end of the snippet may change if you have a custom theme that moved the product thumbnails around.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
remove_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_thumbnails', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks