A WordPress-centric search engine for devs and theme authors



terms_clauses ›

Since3.1.0
Deprecatedn/a
apply_filters( 'terms_clauses', compact( 'fields', 'join', 'where', 'distinct', 'orderby', 'order', 'limits' )
Parameters: (3)
  • (array) $pieces Terms query SQL clauses.
    Required: Yes
  • (array) $taxonomies An array of taxonomies.
    Required: Yes
  • (array) $args An array of terms query arguments.
    Required: Yes
Defined at:
Codex:

Filters the terms query SQL clauses.





Source

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