W3cubDocs

/WordPress

apply_filters( 'comment_form_defaults', array $defaults )

Filters the comment form default arguments.

Description

Use ‘comment_form_default_fields’ to filter the comment fields.

Parameters

$defaults

(array) The default comment form arguments.

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_defaults