comment_guid

函数
comment_guid ( $comment_id = null )
参数
  • (int|WP_Comment) $comment_id Optional comment object or ID. Defaults to global comment object.
    Required:
    Default: null
定义位置
相关方法
comment_idget_comment_guidget_comment_idcomment_datecomment_time
引入
2.5.0
弃用
-

comment_guid: 这个函数返回评论的全球唯一标识符(GUID)。GUID是评论的唯一标识符,WordPress用它来识别和跟踪评论。

显示当前评论的feed GUID。

function comment_guid( $comment_id = null ) {
	echo esc_url( get_comment_guid( $comment_id ) );
}

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 19:32:59

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: