comment_id_fields


comment_id_fields ( $post_id = 0 )

Parameters:
  • (int) post_id Optional. Post ID. Defaults to the current post ID.
See:
Defined at:

Description

Outputs hidden input HTML for replying to comments.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.

Related Functions

get_comment_id_fields, comments_link_feed, comment_id, comment_time, comment_guid

Top Google Results

User discussions

wpseek mobile