函数原型
comment_ID()
函数描述
Displays the comment ID of the current comment.
是否弃用
未弃用
函数参数
无
函数返回值
无
函数位置
File: wp-includes/comment-template.php.
函数源码
function comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
echo get_comment_ID();
}
源码链接
变更日志
| Version | Description |
|---|---|
| 0.71 | Introduced. |

