Skip to:
Content
Pages
Categories
Search
Top
Bottom

Top-level Group Count

  • How can I determine the number of top-level or site root groups, meaning the number of parent groups? I want to display the count of parent groups next to the group tree label on the group tree tab. I need something like

    `count(BP_Groups_Hierarchy::get_active()`

    but for all groups (except hidden), not just the active, newest, etc. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.