Description
Gets the network's blog and user counts.
Usage
<?php get_sitestats() ?>
Parameters
This function does not accept any parameters
Return Value
- $stats (array)
- Blog and user count for the network
- $stats['blogs']
- $stats['users']
Examples
Notes
- Uses get_blog count() and get_user_count()
- Both return the number of active sites and users
- Note: The count is cached and updated twice daily. This is not a live count.
Change Log
Since: MU
Source File
get_sitestats() is located in wp-includes/ms-functions.php
Related