admin_url
admin_url ( $path = '', $scheme = 'admin' )
Parameters:- (string) $path Optional path relative to the admin url.
- (string) $scheme 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: 2.6.0
- Deprecated in WordPress: -
Description
Retrieve the url to the admin area for the current site.