Opened 10 years ago
Closed 10 years ago
#7327 closed enhancement (fixed)
Add bp_parse_args filter to groups_get_groups
| Reported by: | rekmla | Owned by: | djpaul |
|---|---|---|---|
| Priority: | low | Milestone: | 2.8 |
| Component: | Groups | Version: | |
| Severity: | minor | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for suggestion, @rekmla!
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