A WordPress-centric search engine for devs and theme authors



comment_form_submit_field ›

Since4.2.0
Deprecatedn/a
apply_filters( 'comment_form_submit_field', $submit_field, $args )
Parameters: (2)
  • (string) $submit_field HTML markup for the submit field.
    Required: Yes
  • (array) $args Arguments passed to comment_form().
    Required: Yes
Defined at:
Codex:

Filters the submit field for the comment form to display.

The submit field includes the submit button, hidden fields for the comment form, and any wrapper markup.





Source

echo apply_filters( 'comment_form_submit_field', $submit_field, $args );