comment_ID()
Displays the comment ID of the current comment.
Source
File: wp-includes/comment-template.php
.
View all references
function comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
echo get_comment_ID();
}
Changelog
Version | Description |
---|---|
0.71 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Comment ID as Anchor ID
Uses the comment ID as an anchor id for a comment.