wordpress / latest / hooks / comment_id_fields.html

apply_filters( 'comment_id_fields', string $result, int $post_id, int $reply_to_id )

Filters the returned comment ID fields.

Parameters

$result string
The HTML-formatted hidden ID field comment elements.
$post_id int
The post ID.
$reply_to_id int
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 );

Used By

Used By Description

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