wp_count_sites


wp_count_sites ( $network_id = null )

Parameters:
  • (int) network_id Optional. The network to get counts for. Default is the current network ID.
Returns:
  • (int[]) { Numbers of sites grouped by site status. @type int $all The total number of sites. @type int $public The number of public sites. @type int $archived The number of archived sites. @type int $mature The number of mature sites. @type int $spam The number of spam sites. @type int $deleted The number of deleted sites. }
Defined at:

Description

Count number of sites grouped by site status.

Related Functions

wp_count_terms, wp_count_posts, wp_get_sites, wpmu_current_site, count_users

Top Google Results

User discussions

wpseek mobile