Filter hook 'found_sites_query'

in WP Core File wp-includes/class-wp-site-query.php at line 745

Description

Filters the query used to retrieve found site count.

Occurrences

Filename Line Number
wp-includes/class-wp-site-query.php 745

Parameters

Type Name Description
string $found_sites_query SQL query. Default 'SELECT FOUND_ROWS()'.
WP_Site_Query $site_query The `WP_Site_Query` instance.

PHP Doc

/**
			 * Filters the query used to retrieve found site count.
			 *
			 * @since 4.6.0
			 *
			 * @param string        $found_sites_query SQL query. Default 'SELECT FOUND_ROWS()'.
			 * @param WP_Site_Query $site_query        The `WP_Site_Query` instance.
			 */