wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



comment_date › WordPress Function

Od0.71
Przestarzałyn/a
comment_date ( $format = '', $comment_id = 0 )
Parametry: (2)
  • (string) $format Optional. PHP date format. Defaults to the 'date_format' option.
    Wymagane: Nie
    Domyślny: (puste)
  • (int|WP_Comment) $comment_id WP_Comment or ID of the comment for which to print the date. Default current comment.
    Wymagane: Nie
    Domyślny:
Zdefiniowane na:
Codex:
Dziennik zmian:
  • 4.4.0

Displays the comment date of the current comment.



Źródło

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