Last active
July 2, 2018 20:18
-
-
Save robin-scott/9e89eb77f4f3073223108d9e32bfb903 to your computer and use it in GitHub Desktop.
Hide woocommerce related products
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
// place this in your child theme functions.php file to remove related products from WooCommerce | |
// posted by Robin Scott of Silicon Dales, here: https://silicondales.com/tutorials/woocommerce/remove-related-products-woocommerce/ | |
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment