apply_filters( ‘network_site_url’, string $url, string $path, string|null $scheme )

In this article

Filters the network site URL.

Parameters

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

Source

return apply_filters( 'network_site_url', $url, $path, $scheme );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.