How to query for users?
-
Hi!
I’m thinking about using this plugin for a project I’m working on instead of relying on user meta. I’m wondering how you would query users by taxonomy. The basis for this plugin, https://justintadlock.com/archives/2011/10/20/custom-user-taxonomies-in-wordpress, describes using the function get_objects_in_term() but I wonder if that is the only way. Could you instead use get_users so that you could search for a user based on taxonomy AND meta/role/search/etc?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to query for users?’ is closed to new replies.