W3cubDocs

/WordPress

apply_filters( ‘comment_id_fields’, string $comment_id_fields, int $post_id, int $reply_to_id )

Filters the returned comment ID fields.

Parameters

$comment_id_fieldsstring
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

return apply_filters( 'comment_id_fields', $comment_id_fields, $post_id, $reply_to_id );

Changelog

Version Description
3.0.0 Introduced.

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