Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

add bootstrap class to checkout fields woocommerce

add_filter('woocommerce_form_field_args',  'wc_form_field_args',10,3);
  function wc_form_field_args($args, $key, $value) {
  $args['input_class'] = array( 'form-control' );
  return $args;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #bootstrap #class #checkout #fields #woocommerce
ADD COMMENT
Topic
Name
6+2 =