Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Tax query media category

$tax_query = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'media_category',
		'terms'            => '14',
		'field'            => 'term_id',
	),
);