WordPress как на ладони
wordpress jino
фильтр не описан

found_networks_query хук-фильтр . WP 4.6.0

Filters the query used to retrieve found network count.

Использование

add_filter( 'found_networks_query', 'filter_function_name_7154' );
function filter_function_name_7154( $found_networks_query ){
	// filter...

	return $found_networks_query;
}
$found_networks_query(string)
SQL query.
Default: 'SELECT FOUND_ROWS()'
$network_query(WP_Network_Query)
The WP_Network_Query instance.

Связи хука

Используется в: WP_Network_Query::set_found_networks()

Кусок кода с хуком

Фрагмент из: wp-includes/class-wp-network-query.php WP 4.9
...
	 *
	 * @global wpdb $wpdb WordPress database abstraction object.
	 */
	private function set_found_networks() {
		global $wpdb;

		if ( $this->query_vars['number'] && ! $this->query_vars['no_found_rows'] ) {
			/**
			 * Filters the query used to retrieve found network count.
			 *
			 * @since 4.6.0
			 *
			 * @param string           $found_networks_query SQL query. Default 'SELECT FOUND_ROWS()'.
			 * @param WP_Network_Query $network_query        The `WP_Network_Query` instance.
			 */
			$found_networks_query = apply_filters( 'found_networks_query', 'SELECT FOUND_ROWS()', $this );

			$this->found_networks = (int) $wpdb->get_var( $found_networks_query );
		}
	}

	/**
	 * Used internally to generate an SQL string for searching across multiple columns.
	 *
	 * @since 4.6.0
	 *
	 * @global wpdb  $wpdb WordPress database abstraction object.
	 *
	 * @param string $string  Search string.
	 * @param array  $columns Columns to search.
	 *
...