comment_time


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

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

Description

Displays the comment time of the current comment.

Related Functions

get_comment_time, comment_type, comment_text, comment_date, comment_id

Top Google Results

User discussions

wpseek mobile