Codex tools: Log in
Get the number of active sites on your installation.
Note: The count is cached and updated twice daily. This is not a live count.
<?php $blogs = get_blog_count( $id ) ?>
Since: 1.0
get_blog_count() is located in /wp-includes/ms-functions.php.
/wp-includes/ms-functions.php