W3cubDocs

/WordPress

apply_filters_ref_array( 'comments_clauses', string[] $pieces, WP_Comment_Query $this )

Filters the comment query clauses.

Parameters

$pieces

(string[]) An associative array of comment query clauses.

$this

(WP_Comment_Query) Current instance of WP_Comment_Query (passed by reference).

Source

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

View on Trac

Changelog

Version Description
3.1.0 Introduced.

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