Uses
| Uses | Description |
|---|---|
| wp-includes/comment-template.php: get_comment_time() | Retrieves the comment time of the current comment. |
Displays the comment time of the current comment.
(string) (Optional) The format of the time. Default user's settings.
Default value: ''
For time format, see Formatting Date and Time.
File: wp-includes/comment-template.php
function comment_time( $format = '' ) {
echo get_comment_time( $format );
} | Version | Description |
|---|---|
| 0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/comment_time