WordPress at a glance
filter is not described

terms_clauses filter-hook . WP 3.1.0

Filters the terms query SQL clauses.


add_filter( 'terms_clauses', 'filter_function_name_5522', 10, 3 );
function filter_function_name_5522( $pieces, $taxonomies, $args ){
	// filter...

	return $pieces;
Array of query SQL clauses.
An array of taxonomy names.
An array of term query arguments.

Where the hook is called

wp-includes/class-wp-term-query.php 654
$clauses = apply_filters( 'terms_clauses', compact( 'fields', 'join', 'where', 'distinct', 'orderby', 'order', 'limits' ), $taxonomies, $args );

Where the hook is used (in WP core)

Использование не найдено.