Opened 15 years ago
Closed 15 years ago
#3088 closed enhancement (no action required)
hooks near SQL creation
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 1.5 | Priority: | normal |
| Severity: | Version: | 1.2.8 | |
| Component: | Groups | Keywords: | |
| Cc: |
Description
file bp-groups-classes.php class BP_Groups_Group, each member function like get_alphabetically:
want hook to add SQL conditions. What the problem: I have group hierarhy plugin and want ability to show only top-level groups separatelly.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Use the "groups_get_groups" filter located in bp-groups.php, then write your custom group fetch function and return your custom groups.