get_current_site

SummerySummery

Get the current network.

Syntax

get_current_site()

DescriptionDescription

Returns an object containing the ‘id’, ‘domain’, ‘path’, and ‘site_name’ properties of the network being viewed.

ReturnReturn

(WP_Network)

SourceSource

File: wp-includes/ms-functions.php


			

ChangelogChangelog

Changelog
Version Description
MU (3.0.0) Introduced.

See alsoSee also

Scroll to Top