A WordPress-centric search engine for devs and theme authors



get_sitestats ›

Since3.0.0
Deprecatedn/a
get_sitestats ( No parameters )
Returns:
  • (array) Site and user count for 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;
}