apply_filters( "comment_form_field_{$name}", string $field )
Filters a comment form field for display.
Description
The dynamic portion of the filter hook, $name
, refers to the name of the comment form field. Such as ‘author’, ’email’, or ‘url’.
Parameters
- $field
-
(string) The HTML-formatted output of the comment form field.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_form_field_name