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.

Return

Nothing (null).

Usage

comment_time( $d );
$d(string)
The format of the time.
Default: user's settings

Code of comment_time: wp-includes/comment-template.php VER 4.9.8

<?php
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