bp_core_get_admin_integration_active_tab()
Set the default integration tab
Description
Source
File: bp-core/admin/bp-core-admin-functions.php
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
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.