wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



comment_date › WordPress Function

Da0.71
Deprecaton/a
comment_date ( $format = '', $comment_id = 0 )
Parametri: (2)
  • (string) $format Optional. PHP date format. Defaults to the 'date_format' option.
    Richiesto: No
    Default: (vuoto)
  • (int|WP_Comment) $comment_id WP_Comment or ID of the comment for which to print the date. Default current comment.
    Richiesto: No
    Default:
Definito a:
Codex:
ChangeLog:
  • 4.4.0

Displays the comment date of the current comment.



Sorgenti

function comment_date( $format = '', $comment_id = 0 ) {
	echo get_comment_date( $format, $comment_id );
}