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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.