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



terms_clauses ›

Since3.1.0
已弃用n/a
apply_filters( 'terms_clauses', compact( 'fields', 'join', 'where', 'distinct', 'orderby', 'order', 'limits' )
参数: (3)
  • (string[]) $pieces Array of query SQL clauses.
    Required: Yes
  • (string[]) $taxonomies An array of taxonomy names.
    Required: Yes
  • (array) $args An array of term query arguments.
    Required: Yes
定义在:
文档:

Filters the terms query SQL clauses.





源码

$clauses = apply_filters( 'terms_clauses', compact( 'fields', 'join', 'where', 'distinct', 'orderby', 'order', 'limits' ), $taxonomies, $args );