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:
  • 3: .
  • 4: .

Description

Gets the number of active sites on the installation.The count is cached and updated twice daily. This is not a live count.

Related Functions

get_blog_post, get_blog_option, get_blog_list, get_blogs_of_user, get_comment_count

Top Google Results

User discussions

wpseek mobile