apply_filters( ‘network_home_url’, string $url, string $path, string|null $orig_scheme )

In this article

Filters the network home URL.

Parameters

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

Source

return apply_filters( 'network_home_url', $url, $path, $orig_scheme );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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