comment_id_fields


comment_id_fields ( $post = null )

Parameters:
  • (int|WP_Post|null) post Optional. The post the comment is being displayed for. Defaults to the current global post.
See:
Defined at:
Change Log:
  • 6: .

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 `
` section of the `comments.php` template.

Related Functions

get_comment_id_fields, comment_id, comments_link_feed, comment_date, comment_guid

Top Google Results

User discussions

wpseek mobile