WordPress at Your Fingertips
filter is not described

admin_url filter-hook . WP 2.8.0

Filters the admin area URL.


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

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


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

Where the hook is called

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.