get_blog_count
get_blog_count ( $network_id = null )
Parameters:- (int|null) network_id ID of the network. Default is the current network.
Returns:- (int) Number of active sites on the network.
Defined at:Change Log: - Introduced in WordPress: —
- Deprecated in WordPress: —
Description
Gets the number of active sites on the installation.The count is cached and updated twice daily. This is not a live count.