found_networks_query WordPress Filter Hook
The found_networks_query hook is used to filter the network query results. This hook is used to modify the SQL query that is used to fetch the networks.
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
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |