Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

task status

$tax_query = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'task-status',
		'terms'            => 'pending',
		'field'            => 'slug',
		'operator'         => 'IN',
	),
);