Opened 15 years ago
Closed 14 years ago
#1362 closed enhancement (no action required)
Groups directory : custom filtering possibility
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | minor | |
Severity: | normal | Version: | |
Component: | Groups | Keywords: | needs-patch |
Cc: |
Description
Would it be possible to give the opportunity to filter on groups like filters can be applied for users ?
For example, in bp_core_classes.php, BP_Core_Users::get_users_by_letter may is using
$total_users_sql = apply_filters( 'bp_core_users_by_letter_count_sql'...
bp-groups-classes.php BP_Groups_Group::get_by_letter does not offer any custom filtering possibility.
same for BP_Groups_Group::get_alphabetically, BP_Groups_Group::get_active, BP_Groups_Group::get_popular
and probably other methods that may be used by plugin developers.
Thanks
Change History (2)
Note: See
TracTickets for help on using
tickets.
These methods have been merged into a single get() in the latest BP, and this function has such a filter.