Description
Filters the arguments used in the top level comments query. }
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment-template.php | 1522 |
Parameters
Type | Name | Description |
---|---|---|
array | $top_level_args | { The top level query arguments for the comments template. |
PHP Doc
/**
* Filters the arguments used in the top level comments query.
*
* @since 5.6.0
*
* @see WP_Comment_Query::__construct()
*
* @param array $top_level_args {
* The top level query arguments for the comments template.
*
* @type bool $count Whether to return a comment count.
* @type string|array $orderby The field(s) to order by.
* @type int $post_id The post ID.
* @type string|array $status The comment status to limit results by.
* }
*/