WordPress at a glance
function is not described

wpmu_current_site() WP 3.0.0

Deprecated in 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.

  • Global. Object. $current_site

No Hooks.





Code of wpmu current site: wp-includes/ms-load.php WP 5.2.2

function wpmu_current_site() {
	global $current_site;
	_deprecated_function( __FUNCTION__, '3.9.0' );
	return $current_site;