Skip to:

Re: API Documentation?

Boone Gorges


techguy is right – there isn’t really robust documentation at the moment. (Though you are welcome to participate in expanding the documentation at as you figure things out!)

Just off the top of my head, you might look in the following places:
– for determining the admins of a group, look at bp-themes/bp-default/groups/single/group-header.php, where this is done in the context of group headers. The function to look for is bp_group_list_mods(), which is defined in buddypress/bp-groups/bp-groups-templatetags.php.
– Members of a group can be figured out with a group members loop. The codex page on this subject is quite good: See also the same group templatetags file, where bp_group_has_members() is defined.
– A list of all groups can be had with bp_has_groups. See the codex and, again, bp-groups-templatetags.php (see a pattern emerging here?)

Skip to toolbar