get_sitestats()
Gets the network's site and user counts.
No Hooks.
Return
Int[]
. Site and user count for the network.
Usage
get_sitestats();
Changelog
Since 3.0.0 | Introduced. |
get_sitestats() get sitestats code WP 6.6.2
function get_sitestats() { $stats = array( 'blogs' => get_blog_count(), 'users' => get_user_count(), ); return $stats; }