wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



comment_form_field_{$name} › Les Filtres WordPress

Depuis3.0.0
Dépréciéen/a
apply_filters( "comment_form_field_{$name}", $field )
Paramètres:
  • (string) $field The HTML-formatted output of the comment form field.
    Requis: Oui
Défini(e) dans:
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




Source

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