Filter hook 'network_site_url'

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

Description

Filters the network site URL.

Occurrences

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

Parameters

Type Name Description
string $url The complete network site URL including scheme and path.
string $path Path relative to the network site URL. Blank string if no path is specified.
string|null $scheme Scheme to give the URL context. Accepts 'http', 'https', 'relative' or null.

PHP Doc

/**
	 * Filters the network site URL.
	 *
	 * @since 3.0.0
	 *
	 * @param string      $url    The complete network site URL including scheme and path.
	 * @param string      $path   Path relative to the network site URL. Blank string if
	 *                            no path is specified.
	 * @param string|null $scheme Scheme to give the URL context. Accepts 'http', 'https',
	 *                            'relative' or null.
	 */