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 all references
$fields = apply_filters( 'comment_form_default_fields', $fields );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes
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.