WP_Network_Query::get_networks

SummerySummery

Gets a list of networks matching the query vars.

Syntax

WP_Network_Query::get_networks()

ReturnReturn

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

SourceSource

File: wp-includes/class-wp-network-query.php


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top