diff --git a/inc/woocommerce.php b/inc/woocommerce.php index 46568768..d4d84a43 100644 --- a/inc/woocommerce.php +++ b/inc/woocommerce.php @@ -84,7 +84,7 @@ if ( ! function_exists( 'understrap_wc_form_field_args' ) ) { */ $args['class'][] = 'form-group'; // Add a class to the form input itself. - $args['input_class'] = array_merge(array('form-control'), $args['input_class']); + $args['input_class'] = array_merge( array( 'form-control' ), $args['input_class'] ); // Add custom data attributes to the form input itself. $args['custom_attributes'] = array( 'data-plugin' => 'select2', @@ -114,7 +114,7 @@ if ( ! function_exists( 'understrap_wc_form_field_args' ) ) { ); break; case 'textarea': - $args['input_class'] = array_merge(array('form-control'), $args['input_class']); + $args['input_class'] = array_merge( array( 'form-control' ), $args['input_class'] ); break; case 'checkbox': $args['class'][] = 'form-group'; @@ -122,15 +122,15 @@ if ( ! function_exists( 'understrap_wc_form_field_args' ) ) { $args['label'] = isset( $args['label'] ) ? '' . $args['label'] . '' : ''; // Add a class to the form input's