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. |
| CARVIEW |
Filters the default comment form fields.
$fieldsstring[]$fields = apply_filters( 'comment_form_default_fields', $fields );
| Used by | Description |
|---|---|
comment_form()wp-includes/comment-template.php | Outputs a complete commenting form for use within a template. |
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Delete A Field from Your Comment Form
Edited by @audrasjb on 2021/08/30: add a missing prefix.