wp_get_sites


wp_get_sites ( $args = array() )

Parameters:
  • (array) $args { Array of default arguments. Optional.
See:
Returns:
  • (array) An empty array if the installation is considered "large" via wp_is_large_network(). Otherwise, an associative array of site data arrays, each containing the site (network) ID, blog ID, site domain and path, dates registered and modified, and the language ID. Also, boolean values for whether the site is public, archived, mature, spam, and/or deleted.
Defined at:

Description

Return an array of sites for a network or networks.

Related Functions

get_sites, wp_get_themes, wp_get_split_terms, get_site, wp_get_post_terms

Top Google Results

User discussions

wpseek mobile