apply_filters( 'get_comments_number', string|int $count , int $post_id )
Filters the returned comment count for a post.
Parameters
- $count
-
A string representing the number of comments a post has, otherwise 0.
- $post_id
-
Post ID.
Source
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |