wp_count_sites


wp_count_sites ( $network_id = null )

Parameters:
  • (int) $network_id The network to get counts for. Default is the current network id.
Returns:
  • (array) Includes a grand total 'all' and an array of counts indexed by status strings: public, archived, mature, spam, deleted.
Defined at:

Description

Count number of sites grouped by site status.

Related Functions

wp_count_terms, wp_count_posts, wpmu_current_site, wp_get_sites, count_users

Top Google Results

User discussions

wpseek mobile