checkout billing state field change to not required
-
Hi,
How can I change the billing state field to a not required field? I tried this code but somehow its not working
function panda_custom_billing_fields( $fields ) { $fields['billing']['billing_state']['required'] = false; return $fields; } add_filter( 'woocommerce_checkout_fields', 'panda_custom_billing_fields', 999 );
regards,
dexterThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘checkout billing state field change to not required’ is closed to new replies.