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



get_sitestats › WordPress Function

Since
Deprecatedn/a
get_sitestats ( No parameters )
Returns:
  • (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. }
Defined at:
Codex:
Change Log:
  • MU

Gets the network's site and user counts.



Source

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

	return $stats;
}