Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

tax

$tax_query_1 = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'locations',
		'field'            => 'term_id',
	),
	array(
		'taxonomy'         => 'activity_type',
		'field'            => 'term_id',
		'include_children' => true,
	),
);