W3cubDocs

/WordPress

apply_filters( ‘comment_form_default_fields’, string[] $fields )

Filters the default comment form fields.

Parameters

$fieldsstring[]
Array of the default comment fields.

Source

$fields = apply_filters( 'comment_form_default_fields', $fields );

Changelog

Version Description
3.0.0 Introduced.

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