[buddypress-trac] [BuddyPress Trac] #7501: Add "status" parameter to groups_get_groups().

buddypress-trac noreply at wordpress.org
Tue Apr 11 16:15:13 UTC 2017


#7501: Add "status" parameter to groups_get_groups().
-------------------------+-----------------------------
 Reporter:  dcavins      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Groups       |    Version:  1.6
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 I've been exploring moving toward more granular visibility/access/other
 properties for groups and a prerequisite is being able to query groups by
 status or statuses. I think this is a useful improvement to
 `groups_get_groups()` on its own, anyway.

 I'm attaching a patch that maintains the current behavior (with the
 `show_hidden` parameter) and adds the ability to directly fetch groups by
 status. Please let me know if you have concerns.

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


More information about the buddypress-trac mailing list