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_query

(string) SQL query. Default 'SELECT FOUND_ROWS()'.

$network_query

(WP_Network_Query) The WP_Network_Query instance.

Source

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

View on Trac

Changelog

Version Description
4.6.0 Introduced.

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