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



found_networks_query ›

Since4.6.0
已弃用n/a
apply_filters( 'found_networks_query', 'SELECT FOUND_ROWS()
参数: (2)
  • (string) $found_networks_query SQL query. Default 'SELECT FOUND_ROWS()'.
    Required: Yes
  • (WP_Network_Query) $network_query The `WP_Network_Query` instance.
    Required: Yes
定义在:
文档:

Filters the query used to retrieve found network count.





源码

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