W3cubDocs

/WordPress

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

File: wp-includes/class-wp-site-query.php

View on Trac

Changelog

Version Description
4.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/found_sites_query