WordPress at Your Fingertips
filter is not described

admin_url filter-hook . WP 2.8.0

Filters the admin area URL.

Usage

add_filter( 'admin_url', 'filter_function_name_534', 10, 4 );
function filter_function_name_534( $url, $path, $blog_id, $scheme ){
	// filter...

	return $url;
}
$url(string)
The complete admin area URL including scheme and path.
$path(string)
Path relative to the admin area URL. Blank string if no path is specified.
$blog_id(int|null)
Site ID, or null for the current site.
$scheme(string|null)
The scheme to use. Accepts 'http', 'https', 'admin', or null.
Default: 'admin', which obeys force_ssl_admin() and is_ssl()

Changelog

Since 2.8.0 Introduced.
Since 5.8.0 The $scheme parameter was added.

Where the hook is called

get_admin_url()
admin_url
wp-includes/link-template.php 3446
return apply_filters( 'admin_url', $url, $path, $blog_id, $scheme );

Where in WP core the hook is used WordPress

Usage not found.