apply_filters( 'terms_clauses', string[] $pieces, string[] $taxonomies, array $args )

Filters the terms query SQL clauses.

Parameters

$pieces

(string[]) Array of query SQL clauses.

$taxonomies

(string[]) An array of taxonomy names.

$args

(array) An array of term query arguments.

Source

File: wp-includes/class-wp-term-query.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/terms_clauses