Retrieve the url to the admin area for the current site.

Signature

admin_url( $path = '', $scheme = 'admin' )
path
 (string) Optional path relative to the admin url.
Default: ''
scheme
 (string) 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.
Default: 'admin'

Return

(string) Admin url link with optional path appended.

Source

function admin_url( $path = '', $scheme = 'admin' ) {
	return get_admin_url( null, $path, $scheme );
}
WP Trac GitHub

Link here