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

buddypress-trac noreply at wordpress.org
Tue Oct 17 13:50:30 UTC 2017


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

Comment (by boonebgorges):

 Yes, let's do it here and in other components as well.

 The WordPress convention for this is `'fields' => 'ids'`, based on the
 prior convention of allowing different values for `fields` (like, say,
 'name' or 'id=>parent'). It looks like we're already using this in
 `BP_Activity_Activity`, so maybe we can standardize on it?

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


More information about the buddypress-trac mailing list