Title: Comment Form Submit Button
Last modified: August 22, 2016

---

# Comment Form Submit Button

 *  Resolved [Rahendra Putra K™](https://wordpress.org/support/users/rahendz/)
 * (@rahendz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/comment-form-submit-button/)
 * Howdy guys, since i’m bad in english so i’ll to the point. I’ve develop theme
   wordpress. I wanna change button submit of comment form from tag `<input>` into
   tag `<button>`, is it possible to do it?
 * i’ve search in google and get some result, i’d tried this step [WordPress Trac](https://core.trac.wordpress.org/ticket/15015)
   and nothing happen.
 * is `add_filter('comment_form_submit_button', callback);` has been deprecated 
   now? or i did something wrong? Or if there’s another way to change the button
   submit?

Viewing 1 replies (of 1 total)

 *  [vralle](https://wordpress.org/support/users/vit-1/)
 * (@vit-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/comment-form-submit-button/#post-5835279)
 * Customize submit area for comment form
 *     ```
       function custom_comment_form_defaults($args = array()) {
           // * Submit *
           $args['id_submit']     = 'submit';
           $args['name_submit']   = 'submit';
           $args['class_submit']  = 'btn btn-primary';
           $args['label_submit']  = __( 'Post Comment', 'mytheme' );
           $args['submit_button'] = '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />';
           $args['submit_field'] = <p class="form-submit">%1$s %2$s</p>';
   
           return $args;
       }
       add_filter( 'comment_form_defaults', 'custom_comment_form_defaults' );
       ```
   
 * full list arguments for coomment form: [https://github.com/WordPress/WordPress/blob/4.2-branch/wp-includes/comment-template.php#L2138](https://github.com/WordPress/WordPress/blob/4.2-branch/wp-includes/comment-template.php#L2138)

Viewing 1 replies (of 1 total)

The topic ‘Comment Form Submit Button’ is closed to new replies.

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [change](https://wordpress.org/support/topic-tag/change/)
 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [submit](https://wordpress.org/support/topic-tag/submit/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [vralle](https://wordpress.org/support/users/vit-1/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/comment-form-submit-button/#post-5835279)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
