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 on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_id_fields