Opened 16 years ago
Closed 15 years ago
#3088 closed enhancement (no action required)
hooks near SQL creation
| Reported by: | Ghost_ufa | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | Groups | Version: | 1.2.8 |
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Use the "groups_get_groups" filter located in bp-groups.php, then write your custom group fetch function and return your custom groups.