apply_filters( 'found_sites_query', string $found_sites_query, WP_Site_Query $site_query )
Filters the query used to retrieve found site count.
Parameters
- $found_sites_query
-
(string) SQL query. Default 'SELECT FOUND_ROWS()'.
- $site_query
-
(WP_Site_Query) The
WP_Site_Query
instance.
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/found_sites_query