wpseek.com
A WordPress-centric search engine for devs and theme authors



wpmu_current_site › WordPress Function

Since3.0.0
Deprecated3.9.0
wpmu_current_site ( No parameters )
Access:
  • private
Returns:
  • (WP_Network)
Defined at:
Codex:

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.


Source

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