Filters the returned comment time.
Parameters
$comment_time
string|int- The comment time, formatted as a date string or Unix timestamp.
$format
string- PHP date format.
$gmt
bool- Whether the GMT date is in use.
$translate
bool- Whether the time is translated.
$comment
WP_Comment- The comment object.
Source
return apply_filters( 'get_comment_time', $comment_time, $format, $gmt, $translate, $comment );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.