[buddypress-trac] [BuddyPress Trac] #5477: Allow bp_has_groups to return all groups

buddypress-trac noreply at wordpress.org
Wed Mar 26 20:11:52 UTC 2014

#5477: Allow bp_has_groups to return all groups
 Reporter:  dcavins      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Groups       |    Version:
 Severity:  minor        |   Keywords:  has-patch
 For some non-presentation uses, it'd be handy to get every group using
 `bp_has_groups()` to loop through. This patch allows the user to specify
 `'per_page=-1'` to ignore pagination parameters (like WP_Query's
 `'posts_per_page=-1'` behavior) .

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

More information about the buddypress-trac mailing list