wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



comment_date › WordPress Function

Desde0.71
Obsoleton/a
comment_date ( $format = '', $comment_id = 0 )
Parâmetros: (2)
  • (string) $format Optional. PHP date format. Defaults to the 'date_format' option.
    Required: No
    Padrão: (empty)
  • (int|WP_Comment) $comment_id WP_Comment or ID of the comment for which to print the date. Default current comment.
    Required: No
    Padrão:
Definido em:
Codex:
Log de mudanças:
  • 4.4.0

Displays the comment date of the current comment.



Fonte

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