Filter hook 'comment_form_submit_field'

in WP Core File wp-includes/comment-template.php at line 2865

Description

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.

Occurrences

Filename Line Number
wp-includes/comment-template.php 2865

Parameters

Type Name Description
string $submit_field HTML markup for the submit field.
array $args Arguments passed to comment_form().

PHP Doc

/**
			 * 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.
			 *
			 * @since 4.2.0
			 *
			 * @param string $submit_field HTML markup for the submit field.
			 * @param array  $args         Arguments passed to comment_form().
			 */