member class
-
Not sure if this is the right place for this question but…
I noticed that bp_members() returns a completely different member object then
bp_group_members(“group_id=3”)With bp_members() you get access to things like:
bp_member_profile_data( ‘field=Name of contact’ )Which don’t exist at all with bp_group_members()
Wouldn’t the better approach be to have a single member class. Then the method you use to retrieve a collection of that class wouldn’t matter at all.
Or maybe I am just doing it wrong. Is there a way to get “bp_members() ” to only return members of a given group? Say for example: bp_members(“group_id=3”)
?
- The topic ‘member class’ is closed to new replies.