apply_filters( ‘found_sites_query’, string $found_sites_query, WP_Site_Query $site_query )

In this article

Filters the query used to retrieve found site count.

Parameters

$found_sites_querystring
SQL query. Default ‘SELECT FOUND_ROWS()’.
$site_queryWP_Site_Query
The WP_Site_Query instance.

Source

$found_sites_query = apply_filters( 'found_sites_query', 'SELECT FOUND_ROWS()', $this );

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.