get_networks


get_networks ( $args = array() )

Parameters:
  • (string|array) args Optional. Array or string of arguments. See WP_Network_Query::parse_query() for information on accepted arguments. Default empty array.
Returns:
  • (array|int) List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids', or the number of networks when 'count' is passed as a query var.
Defined at:

Description

Retrieves a list of networks.

Related Functions

get_network, wp_get_network, get_ancestors, upgrade_network, get_network_option

Top Google Results

User discussions

wpseek mobile