Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

meta query groupid

$meta_query = array(
	array(
		'key'     => 'pf_group_id',
		'value'   => '$group_id',
		'compare' => 'IN',
		'type'    => 'NUMERIC',
	),
);