found_sites_query

Advertisement

Summery Summery

Filters the query used to retrieve found site count.

Syntax Syntax

apply_filters( 'found_sites_query', string $found_sites_query, WP_Site_Query $site_query )

Parameters Parameters

$found_sites_query

(string) SQL query. Default 'SELECT FOUND_ROWS()'.

$site_query

(WP_Site_Query) The WP_Site_Query instance.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?