Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Author has HeadOffice

$ho_author = array(
	'relation' => 'AND',
	array(
		'key'     => 'cvl_head_office_employer',
		'value'   => '$data['user_id']',
		'compare' => '=',
		'type'    => 'NUMERIC',
	),
);