Not sure why you would try this with taxonomy.
I would suggest making a meta_key “country” with the values.
Then you can query it like in the documentation:
$user_query = new WP_User_Query( array( 'meta_key' => 'country', 'meta_value' => 'Israel' ) );
Not sure why your taxonomy-query doesnt work, looks fine also, i use it like this for my post-types.
How did you try? Maybe also post the function, where you register the taxonomy, where did you attach it to?
Related Posts:
- get the taxonomies terms associated with users
- How to add images to taxonomies?
- Add default WordPress tag meta box to User Profile
- Query users by custom taxonomy and user role
- Custom Taxonomy and Tax_Query
- How to modify the query in taxonomy-custom.php to sort term archives by a custom meta field?
- Is it possible to add taxonomies to user profiles?
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Custom taxonomy on users with UI
- Connect Users and Taxonomies
- Combine multiple custom user taxonomy in single url
- Advanced Tax Query
- Improving WP_Query performance for multiple taxonomies
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- How can I display all post IDs from the taxonomy?
- User role permissions based on taxonomies
- Get ID and slug from taxonomy object
- How to display custom taxonomy in multiple columns?
- Custom taxonomies making WP very slow – Way to fix?
- How to count the number of terms in a taxonomy
- Sorting taxonomy columns by meta value numeric
- Get Taxonmy Term ID For Current Post
- Share taxonomy between user and posts?
- Display sub categories and their data of a taxonomy
- Advanced Query Logic With Multiple Taxonomies
- Display only first level children of my custom taxonomy categories
- Is it possible to get all term items from a custom taxonomy regardless of post attachment status?
- Changing stylesheet depending on custom taxonomy terms
- How to add taxonomy to user?
- How do I taxonomy terms based on terms they are used alongside?
- Custom taxonomy [year] is directing to yearly archive
- Get posts by term slug only
- Taxonomies on custom taxonomies
- Get list of taxonomies associated with Subscribers
- Add Custom Taxonomy for Blog Meta Info
- Search Tool only refreshes Page without showing results
- Getting associated taxonomies
- List of users inside custom taxonomy
- How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?
- What is the most efficient way of implementing a notification system? [closed]
- Taxonomy Meta Box in User Profile?
- How to add images to taxonomy terms? [duplicate]
- one post per term taxonomy
- Show only the sub-categories (and their content) of the current custom taxonomy with ‘taxonomy.php’
- Using Advanced Custom Fields Relationship Field to select a taxonomy term
- Custom arguments in WP_Query
- WordPress cannot find user taxonomies on frontend
- list custom taxonomy with count
- check if a taxnomy queried in $wp_query?
- WP_Query tax_query – Show results if child has parent X
- Query custom taxonomy for category including children
- Variable Not Working Inside is_author() Array
- How to output taxonomy term (incl. link to archive) on author.php?
- How to get related taxonomies based on a category with mysql query?
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Tracking the name of a custom taxonomy
- Add terms to a taxonomy archive from within the same taxonomy
- Is it possible to filter a taxonomy archive by other taxonomies that are on posts?
- Fill New Taxonomies
- Custom Taxonomies Archive Page 404
- WordPress taxonomy terms archive template help
- Retrieve & Display User Meta Values from Checkboxes
- Make relation of custom taxomies
- How to add a custom user taxonomy column to “All Users” in users.php?
- Get all users attached to a taxonomy
- Custom Taxonomy user based creation
- List active taxonomy terms
- taxonomy query on front page
- How do you search for a post by custom taxonomy?
- Next/Previous links in custom taxonomy, where item may belong to multiple terms
- Automatically Populate Post Taxonomy Data Based on Post Author Meta Data?
- Display and Allow users to edit their own profiles
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- How to get multiple Taxonomies not All Taxonomies?
- WordPress Taxonomy Menu
- Primary Taxonomy for Post
- Get taxonomy image for Toolset custom taxonomy through Toolset Views Shortcode
- wp_get_object_terms count on taxonomies within an category archive
- List posts grouped by children of a custom taxonomy
- Make custom post type display with custom taxonomy in url
- Hook to filter based on form value and insert term
- Exporting CSV of users with custom user taxonomies out of WordPress
- Complex Taxonomy scheme
- Querying posts globally based on custom taxonomy with its own taxonomymeta table
- Foreach for get_the_terms for hierarchical taxonomy don’t repeat Top Level Terms if contains multiple Second Level Terms
- drop-down list another query
- Log all users out of all locations after 24 hours
- Create and set templates for custom taxonomies
- querying posts by custom taxonomy terms right from a querystring based URL
- Loop through custom taxanomy in post and display custom fields from posts
- query_posts that have custom taxonomy and limiting what shows based on the taxonomy
- Dynamically generate category id and store in variable
- Pre_get_post custom taxonomy combined with custom fields?
- Adding a checkbox field to a (custom) taxonomy
- Ignore punctuation marks in taxonomy order by name
- Resize $term attachment using url
- How to show/hide a meta box using categories, with a different post type
- User management missing after migration to new host
- Get one custom taxonomy category
- Creating a page for custom taxonomy archive