Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Gallery Tax Query CLP

$tax_query = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'gallery_tags',
		'terms'            => 'test',
		'field'            => 'slug',
		'operator'         => 'IN',
		'include_children' => true,
	),
);