comment_date


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

Parameters:
  • (string) format Optional. PHP date format. Defaults to the 'date_format' option.
  • (int|WP_Comment) comment_id WP_Comment or ID of the comment for which to print the date. Default current comment.
Defined at:
Change Log:
  • 4: .

Description

Displays the comment date of the current comment.

Related Functions

get_comment_date, comment_type, comment_time, comment_text, comment_id

Top Google Results

User discussions

wpseek mobile