bp_admin_url( string $path = '', string $scheme = 'admin' )

Output the correct admin URL based on BuddyPress and WordPress configuration.


Description Description

See also See also


Top ↑

Parameters Parameters

$path

(Optional) See bp_get_admin_url().

Default value: ''

$scheme

(Optional) See bp_get_admin_url().

Default value: 'admin'


Top ↑

Source Source

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

function bp_admin_url( $path = '', $scheme = 'admin' ) {
	echo esc_url( bp_get_admin_url( $path, $scheme ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.