wpmu_current_site(): WP_Network

In this article

This function has been deprecated.

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.

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

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

WP_Network

Source

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

Changelog

VersionDescription
3.9.0This function has been deprecated.
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.