Core Function
View Source on Trac ↗ get_comment_id_fields()
get_comment_id_fields( mixed $post = null ) Retrieves hidden input HTML for replying to comments.
Parameters 1 required
| Name / Type | Description |
|---|---|
| mixed | (int | WP_Post | null) $post Optional. The post the comment is being displayed for. Defaults to the current global post. Required |
Return Value
(string)
Hidden input HTML for replying to comments.
Function Information
Since Version
3.0.0
Source File
wp-includes/comment-template.php
Advertisement