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

Filters the query used to retrieve found site count.


Parameters

$found_sites_query string
SQL query. Default 'SELECT FOUND_ROWS()'.
$site_query WP_Site_Query
The WP_Site_Query instance.

Top ↑

Source

File: wp-includes/class-wp-site-query.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.