bp_core_admin_setting_url( $tab,  $args = array() )

Return the admin url with the tab selected

Description

Source

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

function bp_core_admin_setting_url($tab, $args = []) {
	$args = wp_parse_args( $args, array(
		'page' => 'bp-settings',
		'tab' => $tab
	) );

	return bp_get_admin_url( add_query_arg( $args , 'admin.php' ) );
}

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.