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( $d );
The format of the time.
Default: user's settings


Since 0.71 Introduced.

Code of comment time: wp-includes/comment-template.php WP 5.2.4

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

Related Functions

From tag: date time

More from category: Comments Loop

More from Template Tags: Comments

No comments
    Hello, !     Log In . Register