Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

usercountrymeta

$meta_query = array(
	'relation' => 'AND',
	array(
		'key'     => 'country',
		'value'   => '$country',
		'compare' => '=',
	),
);