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

Description

The number of active sites on your 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_comment_count, get_user_count

Top Google Results

User discussions

wpseek mobile