WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about comments_template_top_level_query_args

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment-template.php apply_filters 1449 /**
* 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.
* }
*/

Hook Parameters

Parameter Type Name Description
array $top_level_arg s {