On this page
apply_filters_ref_array( 'networks_clauses', string[] $clauses, WP_Network_Query $query )
Filters the network query clauses.
Parameters
$clausesstring[]-
An associative array of network query clauses.
$queryWP_Network_Query-
Current instance of WP_Network_Query (passed by reference).
Source
File: wp-includes/class-wp-network-query.php. View all references
$clauses = apply_filters_ref_array( 'networks_clauses', array( compact( $pieces ), &$this ) );
Related
Used By
| Used By | Description |
|---|---|
| WP_Network_Query::get_network_ids() wp-includes/class-wp-network-query.php | Used internally to get a list of network IDs matching the query vars. |
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/networks_clauses