Summery Summery
Displays the language string for the number of comments the current post has.
Syntax Syntax
Parameters Parameters
- $zero
-
(Optional) Text for no comments.
Default value: false
- $one
-
(Optional) Text for one comment.
Default value: false
- $more
-
(Optional) Text for more than one comment.
Default value: false
- $post_id
-
(Optional) Post ID or WP_Post object. Default is the global
$post
.
Source Source
File: wp-includes/comment-template.php
* * @param string $zero Optional. Text for no comments. Default false. * @param string $one Optional. Text for one comment. Default false.
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.4.0 | The $deprecated parameter was changed to $post_id . |
0.71 | Introduced. |