/** * Remove related products. */ function iconic_remove_related_products() { remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 ); } add_action( 'init', 'iconic_remove_related_products', 10 );