apply_filters( 'comment_form_submit_field', string $submit_field, array $args )
Filters the submit field for the comment form to display.
Description
The submit field includes the submit button, hidden fields for the comment form, and any wrapper markup.
Parameters
- $submit_field
-
(string) HTML markup for the submit field.
- $args
-
(array) Arguments passed to comment_form().
Source
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_form_submit_field