[buddypress-trac] [BuddyPress Trac] #7609: Add "IDs only" return format option for BP_Groups_Group::get().

buddypress-trac noreply at wordpress.org
Wed Dec 6 16:18:12 UTC 2017


#7609: Add "IDs only" return format option for BP_Groups_Group::get().
------------------------------+----------------------
 Reporter:  dcavins           |       Owner:  dcavins
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.0
Component:  Groups            |     Version:  2.9.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+----------------------
Changes (by djpaul):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11762"]:
 {{{
 #!CommitTicketReference repository="" revision="11762"
 Groups: add 'fields' parameter to `BP_Groups_Group::get()`.

 Allows return of only group IDs instead of entire objects when
 `fields=ids` is set, similiar to the `fields` parameter in `WP_Query`.

 Fixes #7609

 Props dcavins
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7609#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list