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



comment_time › WordPress Function

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

Displays the comment time of the current comment.



Sorgenti

function comment_time( $format = '', $comment_id = 0 ) {
	echo get_comment_time( $format, false, true, $comment_id );
}