Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

indi-meta

$meta_query = array(
	array(
		'key'     => 'updated_flag',
		'value'   => 'updated',
		'compare' => '=',
	),
);