Filters the comment query clauses.
$clausesstring[]
fields stringjoin stringwhere stringorderby stringlimits stringgroupby string$queryWP_Comment_Query
$clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comments_clauses