apply_filters( ‘get_comment_time’, string|int $comment_time, string $format, bool $gmt, bool $translate, WP_Comment $comment )

In this article

Filters the returned comment time.

Parameters

$comment_timestring|int
The comment time, formatted as a date string or Unix timestamp.
$formatstring
PHP date format.
$gmtbool
Whether the GMT date is in use.
$translatebool
Whether the time is translated.
$commentWP_Comment
The comment object.

Source

return apply_filters( 'get_comment_time', $comment_time, $format, $gmt, $translate, $comment );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.