wppaste
WordPress

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

Since
4.6.0
Filters the network query results.

Parameters

$_networks\WP_Network[]
An array of WP_Network objects.
$queryWP_Network_Query
Current instance of WP_Network_Query (passed by reference).

Fired at · 1

  • wp-includes/class-wp-network-query.php:309WP_Network_Query::get_networks()

Source

		 *		 * @since 4.6.0		 *		 * @param WP_Network[]     $_networks An array of WP_Network objects.		 * @param WP_Network_Query $query     Current instance of WP_Network_Query (passed by reference).		 */		$_networks = apply_filters_ref_array( 'the_networks', array( $_networks, &$this ) ); 		// Convert to WP_Network instances.		$this->networks = array_map( 'get_network', $_networks ); 		return $this->networks;	}

History

Introduced in 4.6.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.