Filters the arguments used to query comments in comments_template() .
$comment_argsarray
orderby string|arrayorder string'ASC' or 'DESC'.status stringinclude_unapproved arraypost_id intno_found_rows boolupdate_comment_meta_cache boolhierarchical bool|stringoffset intnumber int$comment_args = apply_filters( 'comments_template_query_args', $comment_args );
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comments_template_query_args