Skip to content

Instantly share code, notes, and snippets.

@robin-scott

robin-scott/functions.php

Last active Jul 2, 2018
Embed
What would you like to do?
Hide woocommerce related products
// 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
You can’t perform that action at this time.