How to add a heading in between checkout fields of Woocommerce
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_filter('woocommerce_checkout_fields', 'ac_checkout_reorder_fields'); function ac_checkout_reorder_fields($fields) { $order = array( "billing_first_name", "billing_last_name", "billing_company", "billing_email", "billing_phone", "billing_address_1", "billing_address_2", "billing_postcode", "billing_country" ); foreach($order as $field) { $ordered_fields[$field] = $fields["billing"][$field]; } $fields["billing"] = $ordered_fields; return $fields;