Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

my_tag

$meta_query = array(
	array(
		'key'     => 'my_tag',
		'value'   => 'foobar',
	),
);