i was trying to do it like that, and it didnt worked out
get_users(array('meta_key' => 'Department', 'meta_value' => 'finance')
there are 11 users with different departments. I created a new meta, that is a Select Menu – with multiple selection turned on.
how do i query through all the users with a specific department?
- The topic ‘query through custom meta key and value’ is closed to new replies.