[buddypress-trac] [BuddyPress Trac] #7343: Add the_group filter to allow group object modification

buddypress-trac noreply at wordpress.org
Sat Nov 12 20:27:52 UTC 2016


#7343: Add the_group filter to allow group object modification
--------------------------------------------+------------------------------
 Reporter:  ninjew                          |       Owner:
     Type:  enhancement                     |      Status:  new
 Priority:  normal                          |   Milestone:  Under
Component:  Groups                          |  Consideration
 Severity:  normal                          |     Version:
 Keywords:  reporter-feedback dev-feedback  |  Resolution:
--------------------------------------------+------------------------------
Changes (by slaFFik):

 * keywords:   => reporter-feedback dev-feedback
 * milestone:  Awaiting Review => Under Consideration


Comment:

 So in general you are requesting something like this in `->the_group()`?

 {{{
 $this->group = apply_filters( 'bp_groups_template_the_group',
 $this->next_group(), $this );
 }}}

 or in `->next_group()`:

 {{{
 return apply_filters( 'bp_groups_template_next_group', $this->group, $this
 );
 }}}

 Right?

 If implemented, I would go with the second filter.

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


More information about the buddypress-trac mailing list