comment_ID()
comment_ID()
显示当前注释的注释id。
Displays the comment id of the current comment.
返回(Return)
无返回值
源码(Source)
/** * Display the comment id of the current comment. * * @since 0.71 */ function comment_ID() { echo get_comment_ID(); }
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
0.71 | wp-includes/comment-template.php:679 | 3 | 1 function |
笔记(Notes)
注释ID作为锚ID
comment_ID() 为WP2原创文章,链接:https://www.wp2.cn/functions/comment_id/