Filters the arguments used in the top level comments query.
$top_level_argsarray
count boolorderby string|arraypost_id intstatus string|array$top_level_args = apply_filters( 'comments_template_top_level_query_args', $top_level_args );
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comments_template_top_level_query_args