Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add a class to your wordpress comment form submit button
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