WooCommerce - Overriding billing state and post code on existing checkout fields
I can't find the way to ovveride billing state and post code. How can I edit the other parts of existing billing fields like billing state and post code? This is what I have in the functions.php file in my child theme (I have included the code affecting the billing part): <?php function my_custom_checkout_field( $checkout ) { global $wpdb; $check_zone = $wpdb->get_results("select area_name from brick_area where id='".$_SESSION['area']."'",ARRAY_A); if(!empty($check_zone)){ $check_zoneid = $check_zone['0']; } woocommerce_form_field( 'my_field_name', array( 'type' => 'text', 'class' => array('my