On this page
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_Queryinstance.
Source
File: wp-includes/class-wp-network-query.php. View all references
$found_networks_query = apply_filters( 'found_networks_query', 'SELECT FOUND_ROWS()', $this );
Related
Used By
| Used By | Description |
|---|---|
| WP_Network_Query::set_found_networks() wp-includes/class-wp-network-query.php | Populates found_networks and max_num_pages properties for the current query if the limit clause was used. |
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/found_networks_query