I am customizing the WooCommerce checkout page fields. I want to add a heading (text) in between the fields. I have reordered the fields like this
add_filte
add_filter('woocommerce_form_field', 'mmodify_wc_checkout_pge', 10, 4); function mmodify_wc_checkout_pge($field, $key, $args, $value = null) { switch ($key) { case 'billing_email': $a = 'Main address '; return $a . $field; break; default: return $field; break; } }
Main address