wpseek.com
A WordPress-centric search engine for devs and theme authors



terms_clauses › WordPress Filter Hooks

Since3.1.0
Deprecatedn/a
apply_filters( 'terms_clauses', compact( $pieces )
Parameters: (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
Defined at:
Codex:

Filters the terms query SQL clauses.





Source

$clauses = apply_filters( 'terms_clauses', compact( $pieces ), $taxonomies, $args );