W3cubDocs

/WordPress

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

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_field_name