WordPress at Your Fingertips
filter is not described

comments_clauses filter-hook . WP 3.1.0

Filters the comment query clauses.


add_filter( 'comments_clauses', 'filter_function_name_9873', 10, 2 );
function filter_function_name_9873( $pieces, $query ){
	// filter...

	return $pieces;
An associative array of comment query clauses.
Current instance of WP_Comment_Query (passed by reference).

Where the hook is called

wp-includes/class-wp-comment-query.php 909
$clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) );

Where in WP core the hook is used WordPress

Usage not found.