I have a business directory.
Subscribers have custom registration fields where they can specify the information about their business and manage it in their profile.
I would like to generate a list of all subscriber's business_title's for example.
Where should I begin?
I have looked into get_users (wordpress) but it doesn't return the custom registration fields.
S2member's S2MEMBER_CURRENT_USER_FIELDS is only for the current user. How would I get this for all users that fit a particular criteria (in my case role=subscriber).
Any help would be appreciated.