WordPress at a glance

comment_time() WP 1.0

Display the comment time of the current comment.

Works based on: get_comment_time()

No Hooks.


null. Nothing.


comment_time( $format );
PHP time format. option.
Default: 'time_format'


Since 0.71 Introduced.

Code of comment_time() WP 5.7.2

function comment_time( $format = '' ) {
	echo get_comment_time( $format );

From tag: date time

More from category: Comments Loop

More from Template Tags: Comments

No comments
    Log In