bp_get_group_current_invite_tab()

Returns the current group invite tab slug.

Description

Return

(string) $tab The current tab's slug.

Source

File: bp-groups/bp-groups-template.php

7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
function bp_get_group_current_invite_tab() {
    if ( bp_is_groups_component() && bp_is_current_action( 'invite' ) ) {
        $tab = bp_action_variable( 0 );
    } else {
        $tab = '';
    }
 
    /**
     * Filters the current group invite tab slug.
     *
     * @since BuddyBoss 1.2.3
     *
     * @param string $tab Current group invite tab slug.
     */
    return apply_filters( 'bp_get_group_current_invite_tab', $tab );
}

Changelog

Changelog
Version Description
BuddyBoss 1.2.3 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.