📅  最后修改于: 2022-03-11 14:53:55.590000             🧑  作者: Mango
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;
}