do_action_ref_array( 'pre_get_networks', WP_Network_Query $query )
- Since
- 4.6.0
Fires before networks are retrieved.
Parameters
$queryWP_Network_Query- Current instance of WP_Network_Query (passed by reference).
Fired at · 1
wp-includes/class-wp-network-query.php:208WP_Network_Query::get_networks()
Source
* Fires before networks are retrieved. * * @since 4.6.0 * * @param WP_Network_Query $query Current instance of WP_Network_Query (passed by reference). */ do_action_ref_array( 'pre_get_networks', array( &$this ) ); $network_data = null; /** * Filters the network data before the query takes place. *History
Introduced in 4.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 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.