W3cubDocs

/WordPress

apply_filters( 'comment_form_default_fields', string[] $fields )

Filters the default comment form fields.

Parameters

$fields

(string[]) Array of the default comment fields.

Source

File: wp-includes/comment-template.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

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