apply_filters( 'comment_form_submit_button', string $submit_button , array $args )
Filters the submit button for the comment form to display.
Description
Parameters
- $submit_button
-
(string) HTML markup for the submit button.
- $args
-
(array) Arguments passed to comment_form().
Source
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
Example: Following example shows how you can use this filter to change submit button markup of comment form.