apply_filters_ref_array( 'sites_clauses', string[] $pieces, WP_Site_Query $query )
Filters the site query clauses.
Parameters
- $pieces
-
(string[]) An associative array of site query clauses.
- $query
-
(WP_Site_Query) Current instance of WP_Site_Query (passed by reference).
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sites_clauses