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, http://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?
- The topic ‘How to query for users?’ is closed to new replies.