Query Users by Xprofile Data
I have 60 XProfile fields and I’m trying to engineer a loop or query to display all the users that have some sort of XProfile data. For example, a set of users have a favorite restaurant: BurgerPalace.
Id like some sort of query like in WP: $args = array(‘xpro_field’ => ‘favorite’ , ‘xpro_value’ => ‘BurgerPalace’);
But the Codex is very sparse on bp code..
- The topic ‘Query Users by Xprofile Data’ is closed to new replies.