[buddypress-trac] [BuddyPress] #4753: Need way to get ALL members of group

buddypress-trac noreply at wordpress.org
Sat Jan 5 00:52:07 UTC 2013


#4753: Need way to get ALL members of group
--------------------------+-----------------------------
 Reporter:  DennisSmolek  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.7
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Looking at the groups functions we already have groups_get_groups_admins,
 groups_get_groups_mods, and groups_get_group_members.

 Logically you would assume get members would return everyone even the
 admins/mods but it doesnt.
 Analyzing I notice it calls get_all_for_group from the group class which
 has parameters to exclude mods/admins by default.

 Even groups_get_group_members having access to those parameters would be
 better.

 Of course if the preferred method is to just call get_all_for_group
 disregard this....

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4753>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list