groups_screen_group_members_all_members()
Handle the display of a group’s members/all-members page.
Description
Source
File: bp-groups/screens/single/members/all-members.php
function groups_screen_group_members_all_members() { if ( 'all-members' != bp_get_group_current_members_tab() ) return false; $bp = buddypress(); /** * Fires before the loading of the group members/all-members page template. * * @since BuddyBoss 1.0.0 * * @param int $id ID of the group that is being displayed. */ do_action( 'groups_screen_group_members_all_members', $bp->groups->current_group->id ); /** * Filters the template to load for a group's members/all-members page. * * @since BuddyBoss 1.0.0 * * @param string $value Path to a group's members/all-members template. */ bp_core_load_template( apply_filters( 'groups_template_group_members', 'groups/single/home' ) ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.