bp_get_group_current_members_tab()
Returns the current group members tab slug.
Description
Return
(string) $tab The current tab's slug.
Source
File: bp-groups/bp-groups-template.php
6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 | function bp_get_group_current_members_tab() { if ( bp_is_groups_component() && bp_is_current_action( 'members' ) ) { $tab = bp_action_variable( 0 ); } else { $tab = '' ; } /** * Filters the current group members tab slug. * * @since BuddyBoss 1.0.0 * * @param string $tab Current group members tab slug. */ return apply_filters( 'bp_get_current_group_members_tab' , $tab ); } |
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.