W3cubDocs

/WordPress

apply_filters( ‘comment_form_fields’, array $comment_fields )

Filters the comment form fields, including the textarea.

Parameters

$comment_fieldsarray
The comment fields.

Source

$comment_fields = apply_filters( 'comment_form_fields', $comment_fields );

Changelog

Version Description
4.4.0 Introduced.

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