comment_form_submit_button filter-hook . WP 4.2.0
Filters the submit button for the comment form to display.
Usage
add_filter( 'comment_form_submit_button', 'filter_function_name_8059', 10, 2 ); function filter_function_name_8059( $submit_button, $args ){ // filter... return $submit_button; }
- $submit_button(string)
- HTML markup for the submit button.
- $args(array)
- Arguments passed to comment_form().
Changelog
Since 4.2.0 | Introduced. |
Where the hook is called
comment_form_submit_button
wp-includes/comment-template.php 2679
$submit_button = apply_filters( 'comment_form_submit_button', $submit_button, $args );