Description
Filters the returned comment time.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment-template.php | 1129 |
Parameters
Type | Name | Description |
---|---|---|
string|int | $comment_time | The comment time, formatted as a date string or Unix timestamp. |
string | $format | PHP date format. |
bool | $gmt | Whether the GMT date is in use. |
bool | $translate | Whether the time is translated. |
WP_Comment | $comment | The comment object. |
PHP Doc
/**
* Filters the returned comment time.
*
* @since 1.5.0
*
* @param string|int $comment_time The comment time, formatted as a date string or Unix timestamp.
* @param string $format PHP date format.
* @param bool $gmt Whether the GMT date is in use.
* @param bool $translate Whether the time is translated.
* @param WP_Comment $comment The comment object.
*/