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