Getting array of all members
I’m trying to find a function that will return an array of certain xprofile fields from all members, similar to how get_users() works for WordPress user fields. Ideally, I’d also like to select only those members who are attached to a certain role.
My end goal is to populate a drop-down select menu with the first and last names of all members (from a role).
It seems like this should be a built in function, but perhaps not?
You must be logged in to reply to this topic.