apply_filters( 'comments_template_top_level_query_args', array $top_level_args )
Filters the arguments used in the top level comments query.
Description
See also
Parameters
- $top_level_args
-
The top level query arguments for the comments template.<br>
- 'count'
(bool) Whether to return a comment count.<br> - 'orderby'
(string|array) The field(s) to order by.<br> - 'post_id'
(int) The post ID.<br> - 'status'
(string|array) The comment status to limit results by.<br>
- 'count'
Source
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |