On this page
apply_filters( 'comment_id_fields', string $result, int $post_id, int $reply_to_id )
Filters the returned comment ID fields.
Parameters
$resultstring-
The HTML-formatted hidden ID field comment elements.
$post_idint-
The post ID.
$reply_to_idint-
The ID of the comment being replied to.
Source
File: wp-includes/comment-template.php. View all references
return apply_filters( 'comment_id_fields', $result, $post_id, $reply_to_id );
Related
Used By
| Used By | Description |
|---|---|
| get_comment_id_fields() wp-includes/comment-template.php | Retrieves hidden input HTML for replying to comments. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_id_fields