WordPress开发者和主题制作者的搜索引擎



found_sites_query ›

Since4.6.0
已弃用n/a
apply_filters( 'found_sites_query', 'SELECT FOUND_ROWS()
参数: (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
定义在:
文档:

Filters the query used to retrieve found site count.





源码

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