self_admin_url
self_admin_url ( $path = '', $scheme = 'admin' )
Parameters:- (string) path Optional. Path relative to the admin URL. Default empty.
- (string) scheme Optional. The scheme to use. Default is 'admin', which obeys force_ssl_admin() and is_ssl(). 'http' or 'https' can be passed to force those schemes.
Returns:- (string) Admin URL link with optional path appended.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Retrieves the URL to the admin area for either the current site or the network depending on context.