Outputs hidden input HTML for replying to comments.
Description
Adds two hidden inputs to the comment form to identify the comment_post_ID and comment_parent values for threaded comments.
This tag must be within the <form> section of the comments.php template.
See also
Parameters
$postint|WP_Post|nulloptional- The post the comment is being displayed for.
Defaults to the current global post.Default:
null
Source
function comment_id_fields( $post = null ) {
echo get_comment_id_fields( $post );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.