首页 WordPress函数大全 get_comment_date()

get_comment_date()

2020-05-01 / 5094阅 / 悠然

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

get_comment_date( string $format = '', int|WP_Comment $comment_ID )

Retrieves the comment date of the current comment.

描述

参数

$format

(string)
(Optional)
The format of the date. Default user's setting.

Default value: ''

$comment_ID

(int|WP_Comment)
(Optional)
WP_Comment or ID of the comment for which to get the date. Default current comment.

返回

(string) The comment's date.

大家谈论
    我的见解