I am trying to get all those users having role as candidate and 3 skills as follows. skill a, skill x, skill e
. Only want three users, What I am missing
$args = array(
'role' => 'candidate',
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'as_skills',
'value' => array('skilla','skillx','skille'),
'compare' => '='
),
),
);
$test = get_users($args);
echo "<pre>";
print_r($test);
echo "</pre>";
getting no data, but data is there for sure.