Description
Filters the returned comment count for a post.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment-template.php | 927 |
Parameters
Type | Name | Description |
---|---|---|
string|int | $comments_number | A string representing the number of comments a post has, otherwise 0. |
int | $post_id | Post ID. |
PHP Doc
/**
* Filters the returned comment count for a post.
*
* @since 1.5.0
*
* @param string|int $comments_number A string representing the number of comments a post has, otherwise 0.
* @param int $post_id Post ID.
*/