Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Make a Woo required field not required

add_filter( 'woocommerce_billing_fields', 'wc_unrequire_wc_phone_field');
function wc_unrequire_wc_phone_field( $fields ) {
$fields['billing_phone']['required'] = false;
return $fields;
}
Source by woocommerce.com #
 
PREVIOUS NEXT
Tagged: #Make #Woo #required #field #required
ADD COMMENT
Topic
Name
9+6 =