get_comment_date


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

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

Description

Retrieves the comment date of the current comment.

Related Functions

get_commentdata, get_comment_time, get_comment_type, get_comment_text, get_comment_id

Top Google Results

User discussions

wpseek mobile