comment_ID() – Display the comment id of the current comment.

You appear to be a bot. Output may be restricted

Description

Displays the comment ID of the current comment.

Usage

comment_ID();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/comment-template.php
Lines:

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

 View on GitHub View on Trac