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

buddypress-trac noreply at wordpress.org
Sat Nov 12 20:28:32 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:
--------------------------------------------+------------------------------
Description changed by slaFFik:

Old description:

> Possible to add `the_group` filter, probably inside `the_group()`
> function, to allow to easily modify the group object in the loop? In a
> similar way to how the `the_post` filter works.
>
> One scenario where the group objects needs to be modify is explained in
> ticket:7290. And the only solution at the moment is to modify the`
> groups_template` object using nested loops ticket:7290:#comment:25 (
> which I personally don't like ).
>
> Same filter, I believe, should be applied to the `the_member()` function.
> Perhaps this should be created as a separate ticket.

New description:

 Possible to add `the_group` filter, probably inside `the_group()`
 function, to allow to easily modify the group object in the loop? In a
 similar way to how the `the_post` filter works.

 One scenario where the group objects needs to be modify is explained in
 ticket:7290. And the only solution at the moment is to modify the`
 groups_template` object using nested loops ticket:7290#comment:25 ( which
 I personally don't like ).

 Same filter, I believe, should be applied to the `the_member()` function.
 Perhaps this should be created as a separate ticket.

--

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


More information about the buddypress-trac mailing list