首页 WordPress函数大全 get_comment_time()

get_comment_time()

2020-05-01 / 5075阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_comment_time( string $format = '', bool $gmt = false, bool $translate = true )

Retrieves the comment time of the current comment.

描述

参数

$format

(string)
(Optional)
The format of the time. Default user's settings.

Default value: ''

$gmt

(bool)
(Optional)
Whether to use the GMT date.

Default value: false

$translate

(bool)
(Optional)
Whether to translate the time (for use in feeds).

Default value: true

返回

(string) The formatted time.

大家谈论
    我的见解