Description
Filters the comments array.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment-template.php | 1587 |
Parameters
Type | Name | Description |
---|---|---|
array | $comments | Array of comments supplied to the comments template. |
int | $post_id | Post ID. |
PHP Doc
/**
* Filters the comments array.
*
* @since 2.1.0
*
* @param array $comments Array of comments supplied to the comments template.
* @param int $post_id Post ID.
*/