bp_core_get_admin_integration_active_tab()

Set the default integration tab

Description

Source

File: bp-core/admin/bp-core-admin-functions.php

844
845
846
847
848
849
850
851
852
853
854
855
856
857
function bp_core_get_admin_integration_active_tab() {
 
    if (!is_plugin_active('appboss/appboss.php')) {
         
        $default_tab = apply_filters( 'bp_core_admin_default_active_tab', 'bp-appboss' );
        return isset($_GET['tab'])? $_GET['tab'] : $default_tab;
 
    } else {
 
        $default_tab = apply_filters( 'bp_core_admin_default_active_tab', 'bp-learndash' );
        return isset($_GET['tab'])? $_GET['tab'] : $default_tab;
 
    }
}

Changelog

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.