WordPress at Your Fingertips

comment_time() WP 1.0

Display the comment time of the current comment.

{{desc}}

No Hooks.

Return

null. Nothing.

Usage

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

Code of comment_time() WP 5.8.3

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

date time

Comments Loop

Comments

No comments
    Log In