apply_filters( 'comments_array', array $comments , int $post_id )
Filters the comments array.
Parameters
- $comments
-
Array of comments supplied to the comments template.
- $post_id
-
Post ID.
Source
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |