wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_current_site › WordPress Function

Desde
Obsoleton/a
get_current_site ( Sem parâmetros )
Ver:
Retorna:
  • (WP_Network) The current network.
Definido em:
Codex:
Log de mudanças:
  • MU

Gets the current network.

Returns an object containing the 'id', 'domain', 'path', and 'site_name' properties of the network being viewed.


Fonte

function get_current_site() {
	global $current_site;
	return $current_site;
}