Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

test

$tax_query = array(
	array(
		'taxonomy'         => 'tax1',
		'terms'            => array( 'term1', 'term2' ),
	),
);