bp_core_get_admin_active_tab()

Get the slug of the current setting tab

Description

Source

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

function bp_core_get_admin_active_tab() {
	$default_tab = apply_filters( 'bp_core_admin_default_active_tab', 'bp-general' );
	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.