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



get_sitestats › WordPress Function

Desde
Obsoleton/a
get_sitestats ( Sem parâmetros )
Retorna:
  • (int[]) { Site and user count for the network. @type int $blogs Number of sites on the network. @type int $users Number of users on the network. }
Definido em:
Codex:
Log de mudanças:
  • MU

Gets the network's site and user counts.



Fonte

function get_sitestats() {
	$stats = array(
		'blogs' => get_blog_count(),
		'users' => get_user_count(),
	);

	return $stats;
}