Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment-template.php | apply_filters | 1060 | /** * Filters the returned comment time. * * @since 1.5.0 * * @param string|int $date 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string|int | $date | 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. |