[buddypress-trac] [BuddyPress Trac] #7343: Add the_group filter to allow group object modification
buddypress-trac
noreply at wordpress.org
Sat Nov 12 01:32:13 UTC 2016
#7343: Add the_group filter to allow group object modification
-------------------------+-----------------------------
Reporter: ninjew | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Groups | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
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>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list