函数原型
comment_guid( int|WP_Comment $comment_id = null )
函数描述
Displays the feed GUID for the current comment.
是否弃用
未弃用
函数参数
-
$comment_id
int|WP_Comment
Optional - comment object or ID. Defaults to global comment object.
Default:
null
函数返回值
无
函数位置
File: wp-includes/feed.php.
函数源码
function comment_guid( $comment_id = null ) {
echo esc_url( get_comment_guid( $comment_id ) );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |

