get_comment_time

最后更新于:2021-11-26 22:30:05

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

Filters the returned comment time.

参数

$date

(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

(GC_Comment)
The comment object.

源文件

文件: gc-includes/comment-template.php

View on Trac