W3cubDocs

/WordPress

comment_id_fields( int $id )

Output hidden input HTML for replying to comments.

Description

Parameters

$id

(int) (Optional) Post ID. Default current post ID.

Source

File: wp-includes/comment-template.php

function comment_id_fields( $id = 0 ) {
	echo get_comment_id_fields( $id );
}

Changelog

Version Description
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/comment_id_fields