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_time, comment_type, comment_text, comment_id

Top Google Results

User discussions

wpseek mobile