comment_form_field_(name) filter-hook . WP 3.0.0
Filters a comment form field for display.
The dynamic portion of the filter hook, $name, refers to the name of the comment form field. Such as 'author', 'email', or 'url'.
Usage
add_filter( 'comment_form_field_(name)', 'filter_function_name_3359' ); function filter_function_name_3359( $field ){ // filter... return $field; }
- $field(string)
- The HTML-formatted output of the comment form field.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
comment_form_field_(name)
wp-includes/comment-template.php 2650
echo apply_filters( "comment_form_field_{$name}", $field ) . "\n";