W3cubDocs

/WordPress

apply_filters( ‘found_networks_query’, string $found_networks_query, WP_Network_Query $network_query )

Filters the query used to retrieve found network count.

Parameters

$found_networks_querystring
SQL query. Default ‘SELECT FOUND_ROWS()’.
$network_queryWP_Network_Query
The WP_Network_Query instance.

Source

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

Changelog

Version Description
4.6.0 Introduced.

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