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

File: wp-includes/comment-template.php

View on Trac

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