'
',
'email' => '',
'url' => '',
);
return $fields;
}
add_filter( 'comment_form_defaults', 'bootstrap3_comment_form' );
/**
* Builds the form.
*
* @param string $args Arguments for form's fields.
*
* @return mixed
*/
function bootstrap3_comment_form( $args ) {
$args['comment_field'] = '';
$args['class_submit'] = 'btn btn-secondary'; // since WP 4.1.
return $args;
}