A WordPress-centric search engine for devs and theme authors



found_sites_query ›

Since4.6.0
Deprecatedn/a
apply_filters( 'found_sites_query', 'SELECT FOUND_ROWS()
Parameters: (2)
  • (string) $found_sites_query SQL query. Default 'SELECT FOUND_ROWS()'.
    Required: Yes
  • (WP_Site_Query) $site_query The `WP_Site_Query` instance.
    Required: Yes
Defined at:
Codex:

Filters the query used to retrieve found site count.





Source

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