found_networks_query

过滤钩子


apply_filters( 'found_networks_query', 'SELECT FOUND_ROWS()
参数
  • (string)
    $found_networks_query
    SQL query. Default ‘SELECT FOUND_ROWS()’.
    Required:
  • (WP_Network_Query)
    $network_query
    The `WP_Network_Query` instance.
    Required:
定义位置
  • wp-includes/class-wp-network-query.php
    , line 522
引入
4.6.0
弃用

Filters the query used to retrieve found network count.

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