wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_sitestats › WordPress Function

Da
Deprecaton/a
get_sitestats ( Nessun parametro )
Ritorna:
  • (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. }
Definito a:
Codex:
ChangeLog:
  • MU

Gets the network's site and user counts.



Sorgenti

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

	return $stats;
}