get_comment_guid()
get_comment_guid( int|WP_Comment $comment_id = null )
检索当前注释的源GUID。
Retrieve the feed GUID for the current comment.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$comment_id | (int | WP_Comment) | 可选 | 注释对象或id。默认为全局注释对象。 |
返回(Return)
(string|false)成功时用于注释的GUID,失败时为false。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.5.0 | wp-includes/feed.php:285 | 1 function | 2 |
get_comment_guid() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_comment_guid/