Created
October 2, 2015 18:01
-
-
Save circlecube/56659eb4c59b0a4ca3c5 to your computer and use it in GitHub Desktop.
Add a class to your wordpress comment form submit button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function circlecube_comment_form( $args ) { | |
$args['class_submit'] = 'button'; // since WP 4.1 | |
return $args; | |
} | |
add_filter( 'comment_form_defaults', 'circlecube_comment_form' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment