Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

product

$product = array(
	array(
		'taxonomy'         => 'product_category',
		'terms'            => 'cardiology',
		'field'            => 'slug',
		'include_children' => true,
	),
);