If you want to remove related products from product page in WooCommerce then place the following code in your functions.php file.

function wc_remove_related_products( $args ) {
	return array();
}
add_filter('woocommerce_related_products_args','wc_remove_related_products', 10); 

Have any doubt, then comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *