The dynamic portion of the hook name, $name, refers to the name of the comment form field. Possible hook names include: <ul> <li>comment_form_field_comment</li> <li>comment_form_field_author</li> <li>comment_form_field_email</li> <li>comment_form_field_url</li> <li>comment_form_field_cookies</li> </ul>
Parameters
$fieldstring
The HTML-formatted output of the comment form field.
2834*-`comment_form_field_cookies`2835*2836* @since 3.0.02837*2838* @param string$field The HTML-formatted output of the comment form field.2839*/2840echoapply_filters("comment_form_field_{$name}",$field)."\n";28412842if($last_field===$name){2843/**2844* Fires after the comment fields in the comment form, excluding the textarea.2845*2846* @since 3.0.0
History
Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.