Skip to content

Instantly share code, notes, and snippets.

@grayayer
Forked from temperatio/functions.php
Created April 20, 2017 22:29
Show Gist options
  • Save grayayer/a6412424e230c9f1adb021cfcf8d98c6 to your computer and use it in GitHub Desktop.
Save grayayer/a6412424e230c9f1adb021cfcf8d98c6 to your computer and use it in GitHub Desktop.
Woocommerce: Remove related products
/**
* Remove related products
*/
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