Filters the arguments used in the top level comments query.
Description
See also
Parameters
$top_level_argsarray- The top level query arguments for the comments template.
countboolWhether to return a comment count.orderbystring|arrayThe field(s) to order by.post_idintThe post ID.statusstring|arrayThe comment status to limit results by.
Source
$top_level_args = apply_filters( 'comments_template_top_level_query_args', $top_level_args );
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.