Filters the default comment form fields.
Parameters
$fields
string[]- Array of the default comment fields.
Source
$fields = apply_filters( 'comment_form_default_fields', $fields );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
Filters the default comment form fields.
$fields
string[]$fields = apply_filters( 'comment_form_default_fields', $fields );
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.