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



terms_clauses › WordPress过滤钩子

Since3.1.0
已弃用n/a
apply_filters( 'terms_clauses', compact( $pieces )
参数: (3)
  • (string[]) $clauses { Associative array of the clauses for the query. @type string $fields The SELECT clause of the query. @type string $join The JOIN clause of the query. @type string $where The WHERE clause of the query. @type string $distinct The DISTINCT clause of the query. @type string $orderby The ORDER BY clause of the query. @type string $order The ORDER clause of the query. @type string $limits The LIMIT clause of the query. }
    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( $pieces ), $taxonomies, $args );