This page redirects to an external site: https://developer.wordpress.org/reference/functions/comment_id_fields/
Generates two hidden inputs for the comment form to identify the comment_post_ID and comment_parent for threaded comments. This tag must be within the <form> section of comments.php.
<code style="color: #000000"> <span style="color: #0000BB"><?php comment_id_fields</span><span style="color: #007700">( </span><span style="color: #0000BB">$id </span><span style="color: #007700">); </span><span style="color: #0000BB">?></span> </code>
<code style="color: #000000"> <span style="color: #0000BB"><?php comment_id_fields</span><span style="color: #007700">(); </span><span style="color: #0000BB">?></span> </code>
This function does not return a value.
See the source of comment_form() as an example of usage within a comment form.
comment_id_fields() is located in wp-includes/comment-template.php.