comment_ID()
Display the comment id of the current comment.
Description
Source
File: wp-includes/comment-template.php
function comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid echo get_comment_ID(); }
Changelog
Version | Description |
---|---|
0.71 | Introduced. |
Comment ID as Anchor ID
Uses the comment ID as an anchor id for a comment.