WordPress at Your Fingertips
function is not described

get_current_site() WP 3.0.0

Get the current network.

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

No Hooks.

Return

WP_Network.

Usage

get_current_site();

Notes

Changelog

Since 3.0.0 Introduced.

Code of get_current_site() WP 5.8.2

function get_current_site() {
	global $current_site;
	return $current_site;
}