wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



comment_form_field_{$name} › Hooks de Filtros WordPress

Desde3.0.0
Obsoleton/a
› apply_filters( "comment_form_field_{$name}", $field )
Parâmetros:
  • () field The HTML-formatted output of the comment form field.
    Required: Yes
Definido em:
Codex:

Filters a comment form field for display.

The dynamic portion of the hook name, `$name`, refers to the name of the comment form field. Possible hook names include: - `comment_form_field_comment` - `comment_form_field_author` - `comment_form_field_email` - `comment_form_field_url` - `comment_form_field_cookies`




Fonte

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