get_sitestats()
Gets the network’s site and user counts.
Return
(array) Site and user count for the network.
Source
File: wp-includes/ms-functions.php
function get_sitestats() {
$stats = array(
'blogs' => get_blog_count(),
'users' => get_user_count(),
);
return $stats;
}
Changelog
Version | Description |
---|---|
WP-MU | Introduced. (3.0.0) |