WooCommerce Checkout Fields Validator

Home » WordPress Generators » WooCommerce Checkout Fields Validator
First Name
Remove the First Name field validation.
Last Name
Remove the Last Name field validation.
Company
Remove the Company field validation.
Address 1
Remove the Address 1 field validation.
Address 2
Remove the Address 2 field validation.
City
Remove the City field validation.
State
Remove the State field validation.
Postcode
Remove the Postcode field validation.
Country
Remove the Country field validation.
First Name
Remove the First Name field validation.
Last Name
Remove the Last Name field validation.
Email
Remove the Email field validation.
Company
Remove the Company field validation.
Address 1
Remove the Address 1 field validation.
Address 2
Remove the Address 2 field validation.
City
Remove the City field validation.
Postcode
Remove the Postcode field validation.
State
Remove the State field validation.
Country
Remove the Country field validation.
Phone
Remove the Phone field validation.
First Name
Remove the First Name field validation.
Last Name
Remove the Last Name field validation.
Company
Remove the Company field validation.
Address 1
Remove the Address 1 field validation.
Address 2
Remove the Address 2 field validation.
City
Remove the City field validation.
Postcode
Remove the Postcode field validation.
State
Remove the State field validation.
Country
Remove the Country field validation.
                    // Remove validation for default fields.
add_filter('woocommerce_default_address_fields', 'wpturbo_change_default_fields_validation');
function wpturbo_change_default_fields_validation($fields){
	return $fields;
}

// Remove validation for billing fields.
add_filter('woocommerce_billing_fields', 'wpturbo_change_billing_fields_validation');
function wpturbo_change_billing_fields_validation($fields){
	return $fields;
}

// Remove validation for shipping fields.
add_filter('woocommerce_shipping_fields', 'wpturbo_change_shipping_fields_validation');
function wpturbo_change_shipping_fields_validation($fields){
	return $fields;
}