wordpress / latest / hooks / found_networks_query.html

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 all references

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

Used By

Used By Description

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