A WordPress-centric search engine for devs and theme authors



comment_form_field_{$name} ›

Since3.0.0
Deprecatedn/a
apply_filters( "comment_form_field_{$name}", $field )
Parameters:
  • (string) $field The HTML-formatted output of the comment form field.
    Required: Yes
Defined at:
Codex:

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'.





Source

echo apply_filters( "comment_form_field_{$name}", $field ) . "\n";