WordPress at Your Fingertips
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_7815', 10, 3 );
function filter_function_name_7815( $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 699
$clauses = apply_filters( 'terms_clauses', compact( 'fields', 'join', 'where', 'distinct', 'orderby', 'order', 'limits' ), $taxonomies, $args );

Where in WP core the hook is used WordPress

Usage not found.