Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

testwhiutleist

$meta_query = array(
	'relation' => 'AND',
	array(
		'key'     => 'next_ad_int_samaccountname',
		'compare' => 'EXISTS',
	),
	array(
		'key'     => 'whitelist_wp_user',
		'value'   => '1',
		'compare' => '=',
	),
);