Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

meta_query_voucher

$meta_query = array(
	array(
		'key'     => '_has_voucher',
		'value'   => 'yes',
	),
);