wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



comment_form_field_{$name} › WordPress Filter Hooks

Da3.0.0
Deprecaton/a
apply_filters( "comment_form_field_{$name}", $field )
Parametri:
  • (string) $field The HTML-formatted output of the comment form field.
    Richiesto:
Definito a:
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




Sorgenti

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