apply_filters_ref_array( 'the_networks', WP_Network[] $_networks, WP_Network_Query $query )

Filters the network query results.

Parameters

$_networks

(WP_Network[]) An array of WP_Network objects.

$query

(WP_Network_Query) Current instance of WP_Network_Query (passed by reference).

Source

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

View on Trac

Changelog

Version Description
4.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_networks