wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wpmu_current_site › WordPress Function

Depuis3.0.0
Dépréciée3.9.0
wpmu_current_site ( Pas de paramètres )
Accès:
  • private
Retourne:
  • (WP_Network)
Défini(e) dans:
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;
}