Filter hook 'network_admin_url'

in WP Core File wp-includes/link-template.php at line 3821

Description

Filters the network admin URL.

Occurrences

Filename Line Number
wp-includes/link-template.php 3821

Parameters

Type Name Description
string $url The complete network admin URL including scheme and path.
string $path Path relative to the network admin URL. Blank string if no path is specified.
string|null $scheme The scheme to use. Accepts 'http', 'https', 'admin', or null. Default is 'admin', which obeys force_ssl_admin() and is_ssl().

PHP Doc

/**
	 * Filters the network admin URL.
	 *
	 * @since 3.0.0
	 * @since 5.8.0 The `$scheme` parameter was added.
	 *
	 * @param string      $url    The complete network admin URL including scheme and path.
	 * @param string      $path   Path relative to the network admin URL. Blank string if
	 *                            no path is specified.
	 * @param string|null $scheme The scheme to use. Accepts 'http', 'https',
	 *                            'admin', or null. Default is 'admin', which obeys force_ssl_admin() and is_ssl().
	 */