Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

terms

$tax_query = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'product_cat',
		'terms'            => array( '1', '2', '3' ),
		'field'            => 'term_id',
		'operator'         => 'IN',
		'include_children' => false,
	),
);