There is one small issue. You have to user 'IN'
instead of =
because you want to check values with array
$args = array(
'role' => 'candidate',
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'as_skills',
'value' => array('skilla','skillx','skille'),
'compare' => 'IN'
),
),
);
$test = get_users($args);
echo "<pre>";
print_r($test);
echo "</pre>";
Related Posts:
- How to pass user meta_key and meta_value (values as array)
- get_users with Serialized Custom Meta Value
- WP_User_Query with combined meta query – not working?
- get_users meta_query
- How to add follow functionality to multi-author wordpress site?
- Search multiple meta keys at once
- Plugin that would allow WordPress Authors to “follow” other Authors and query “Activity Info” from that
- delete_user_meta Delete one value out of array
- User Relationship
- WP User Query fails when searching meta queries and search columns
- User meta query results in PHP notice: only variables should be passed by reference
- How to pull all the contributer users records and order by Designation (which is users meta data)?
- ACF: How to get users with a ACF flexible content subfield with a specific value AND layout?
- last_name + first_name orderby with meta_query [solved]
- how to search all user meta data that have value like “vivek”
- wordpress meta value compare between two date
- get_user can’t read variable
- meta_query orderby sort multiple keys
- Get all user with both meta_value
- wp_user_query with meta_value_num for leaderboard
- How to filter users on admin users page by custom meta field?
- How can I query all users who registered today?
- Using meta_query on pre_get_posts to exclude a particular meta_key value
- How to get users by a custom field / by user meta data?
- How to order users alphabetically by their last name?
- Wp_User_Query not sorting by meta key
- Add a button to users.php
- How to use hyperdb to separate and share a user dataset between wordpress installs?
- \WP_User Object | What’s the Difference Between {caps} and {allcaps}?
- Combining Meta_Query key values for one array
- Order by nested named meta queries with ‘exists’ and ‘not exists’
- Show User Their Password
- Front end user meta options for users
- Arrange Posts By Date In Order Of Closest To The Current Date
- How can I sort get_users() by any value (last_name, user defined fields and more)
- Custom Upcoming Events List for Events Manager Plugin
- Extend the wp_users table
- Drop down list in user profile page
- Query wp_usermeta alongside wp_users
- WordPress admin deleted user details not removed in database. How to delete WordPress Users from Database
- Use both meta query and tax query
- meta_query, number comparison, not quite working as it should
- Uncheck the box “Send User Notification” by default on new-user.php
- Add user data to table when user is created?
- How to get a list of all possible values of a specific user meta key?
- Use wp_update_user to update custom column in wp_users table
- Display users in order by an “order” custom meta field
- Rest API code to get ID of current user not working: get_current_user_id() gives 0
- Fastest way to do meta query when I don’t need the actual posts, and just need post_id?
- How can I attach a user to another user with user meta
- How to Access wp_usermeta Data Immediately After a New User is Created
- Help on multiple meta_query
- pre_get_posts and set
- cannot get user_registered date from get_user_meta
- How to use orderby with meta_query?
- Reduce number of SQL queries inside WP_Query loop to fetch author data
- How would I be able to use a font awesome icon as a user’s avatar?
- how to get post meta where value is an array of key value pairs
- Search users with custom meta data
- WP JSON API meta_query not working
- Storing user submitted forms [closed]
- Ordering custom posts by meta field date
- how do I add role and capability after I create a new user
- User Meta stuff
- How to relate the Category to user?
- How to: get_user_meta – BuddyPress [closed]
- How to properly escape values in meta query
- Fetch custom post related to a User
- meta_query compare “=“ returns nothing when it seems it should
- Order resultset by configured value and then list all the rest
- How do I update user email from frontend input field?
- Query users and count totals based on meta values
- My custom user metadata is only active for only admin but i want it to be active on all users especially customers
- How to get image path from id using SQL
- Update user role for expired membership
- Querying terms with calculations based on term meta data, sql vs. get_terms
- How to do WP_User_Query for Nested Array value Inside Nested Array field
- Move Non-WordPress users table to WordPress database
- Store data from JavaScript object to custom table in user account
- Hook into add_user_role and update based on new and removed roles
- WordPress meta query not working
- How to prevent multiple user accounts with the same meta field?
- Get meta_value from GDRating
- How to change the value of a variable using input field?
- How to update user meta from php file?
- Why does this incorrect pre_get_posts meta_query work for sort order?
- Autofill advanced custom field with user data
- How to sort custom posts including null meta-values in admin columns with meta_query?
- Exclude Posts Using Meta Query and User Meta
- get posts meta query returning the latest post if no meta key found
- update multiple user meta field based on another meta field
- Custom user query – orderby meta_key (that may not exist)
- How to get user meta value in wordpress
- Store extra user values permanently
- WordPress Meta Query very slow with NOT EXISTS comparison
- Import users and custom user meta from csv
- ACF meta_query field treated as “0” resulting in false negative search when testing ranges
- Is it possible to customize meta query in this way?
- Export user data from Squirrly’s Starbox plugin?
- How making a new search box in admin post table working on a specific column