Opened 8 years ago
Closed 8 years ago
#7327 closed enhancement (fixed)
Add bp_parse_args filter to groups_get_groups
Reported by: | rekmla | Owned by: | djpaul |
---|---|---|---|
Milestone: | 2.8 | Priority: | low |
Severity: | minor | Version: | |
Component: | Groups | Keywords: | good-first-bug needs-patch |
Cc: |
Description
This would make it possible to avoid plugin modifications (bp-event-organiser for example) when group filtering is required. This can currently be accomplished before the query results are returned with apply_filters_ref_array( 'groups_get_groups', array( &$groups, &$r ) )
. Something more efficient would be desirable.
Change History (2)
Note: See
TracTickets for help on using
tickets.
bp_parse_args()
in that function (imo not inBP_Groups_Group::get()
) should be used there instead ofwp_parse_args()
with'get_group'
filter key, I suppose.Related and fixed: #7250