WordPress at Your Fingertips
function is not described

woocommerce_output_related_products() WC 1.0

Output the related products.

Return

null. Nothing.

Usage

woocommerce_output_related_products();

Code of woocommerce_output_related_products() WC 5.7.0

function woocommerce_output_related_products() {

	$args = array(
		'posts_per_page' => 4,
		'columns'        => 4,
		'orderby'        => 'rand', // @codingStandardsIgnoreLine.
	);

	woocommerce_related_products( apply_filters( 'woocommerce_output_related_products_args', $args ) );
}