comment_id

函数


comment_id ( No parameters )
定义位置
  • wp-includes/comment-template.php
    , line 687
引入
0.71
弃用

Displays the comment ID of the current comment.

function comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
	echo get_comment_ID();
}