Deprecated Deprecated

This function has been deprecated.

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

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

Syntax Syntax


Description Description

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

Return Return


Source Source

File: wp-includes/ms-load.php

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


Changelog Changelog

Version Description
3.9.0 This function has been deprecated.
3.0.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.