WPDev.one
Core Function
View Source on Trac ↗

comment_date()

comment_date( mixed $format = '', mixed $comment_id = 0 )

Displays the comment date of the current comment.

Parameters 1 required

Name / Type Description
$format
string

Optional. PHP date format. Defaults to the 'date_format' option.

mixed

(int | WP_Comment) $comment_id WP_Comment or ID of the comment for which to print the date. Default current comment.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
0.71
Source File
wp-includes/comment-template.php
Advertisement