comment_ID()
Display the comment id of the current comment.
Description Description
Source Source
File: wp-includes/comment-template.php
function comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid echo get_comment_ID(); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
0.71 | Introduced. |
User Contributed Notes 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.