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