get_networks

Advertisement

Summery Summery

Retrieves a list of networks.

Syntax Syntax

get_networks( string|array $args = array() )

Parameters Parameters

$args

(string|array) (Optional) Array or string of arguments. See WP_Network_Query::parse_query() for information on accepted arguments.

Default value: array()

Return Return

(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.

Source Source

File: wp-includes/ms-network.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.