WordPress at a glance
function is not described

wpmu_current_site() WP 3.0.0

Deprecated from version 3.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

This deprecated function managed much of the site and network loading in multisite.

The current bootstrap code is now responsible for parsing the site and network load as well as setting the global $current_site object.

No Hooks.

Return

WP_Network. Null. Nothing.

Usage

wpmu_current_site();

Notes

  • Global. WP_Network. $current_site

Changelog

Since 3.0.0 Introduced.
Deprecated 3.9.0

Code of wpmu_current_site() WP 5.7

<?php
function wpmu_current_site() {
	global $current_site;
	_deprecated_function( __FUNCTION__, '3.9.0' );
	return $current_site;
}