title: How to add a heading in between checkout fields of WooCommerce
body: <p>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</p>
  <pre><code>add_filter('woocommerce_checkout_fields', 'ac_checkout_reorder_fields');
  
  function ac_checkout_reorder_fields($fields) {
  
      $order = array(
          &quot;billing_first_name&quot;, 
          &quot;billing_last_name&quot;, 
          &quot;billing_company&quot;, 
          &quot;billing_email&quot;, 
          &quot;billing_phone&quot;,
          &quot;billing_address_1&quot;, 
          &quot;billing_address_2&quot;, 
          &quot;billing_postcode&quot;, 
          &quot;billing_country&quot; 
          
  
      );
      foreach($order as $field)
      {
          $ordered_fields[$field] = $fields[&quot;billing&quot;][$field];
      }
  
      $fields[&quot;billing&quot;] = $ordered_fields;
      return $fields;
  
  }
  </code></pre>
  <p>Then I added a new heading like this</p>
  <pre><code>add_action( 'woocommerce_after_checkout_billing_form', 'add_custom_heading' );
  
  function add_custom_heading( $checkout ) {
  
      echo '&lt;div id=&quot;add_custom_heading&quot;&gt;&lt;h2&gt;' . __('Custom Heading Here') . '&lt;/h2&gt;&lt;/div&gt;' ;
  
  
  }
  </code></pre>
  <p>Now the fields are re-arranged and the custom heading is showing. But I want <strong>the heading showing just below the name &amp; company fields.</strong> With my code, the field is being added below. How I an reposition this in my desired place.</p>
  <p>PS: I also tried to add customize the sections of the entire field with this hook <code>woocommerce_checkout_fields</code> adding placeholder and removing the labels. Here are the codes but this also does not help me solve the issue.</p>
  <pre><code>function add_wc_custom_fields($fields) {
  global $woocommerce;
      $countries_obj   = new WC_Countries();
      $countries   = $countries_obj-&gt;__get('countries');
  
       $fields['billing']['billing_first_name'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('First Name*', 'placeholder', 'woocommerce'),
              'required' =&gt; true,
             'class'    =&gt; array( 'form-row-first' ),
          );
          $fields['billing']['billing_last_name'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('last Name*', 'placeholder', 'woocommerce'),
              'required' =&gt; true,
             'class'    =&gt; array( 'form-row-last' ),
          );
          $fields['billing']['billing_company'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('Company Name', 'placeholder', 'woocommerce'),
              'required' =&gt; false,
              'class' =&gt; array('checkout-billing-company')
          );
          $fields['billing']['billing_address_1'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('Address(Line 1)*', 'placeholder', 'woocommerce'),
              'required' =&gt; true,
              'class' =&gt; array('checkout-billing-addressL1')
          );
           $fields['billing']['billing_address_2'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('Address(Line 2)*', 'placeholder', 'woocommerce'),
              'required' =&gt; false,
              'class' =&gt; array('checkout-billing-addressL2')
          );
           $fields['billing']['billing_email'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('Email Address*', 'placeholder', 'woocommerce'),
              'required' =&gt; true,
              'class' =&gt; array('form-row-first')
          );
          $fields['billing']['billing_phone'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('Phone Number', 'placeholder', 'woocommerce'),
              'required' =&gt; false,
              'class' =&gt; array('form-row-last')
          );
          $fields['billing']['billing_city'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('Town/City', 'placeholder', 'woocommerce'),
              'required' =&gt; false,
              'class' =&gt; array('form-row-first')
          );
          
  $fields['billing']['billing_state'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('State/County', 'placeholder', 'woocommerce'),
              'required' =&gt; false,
              'class' =&gt; array('form-row-first')
          );
      $fields['billing']['billing_postcode'] = array(
              'label' =&gt; '',
              'placeholder' =&gt; _x('Zip/Postcode', 'placeholder', 'woocommerce'),
              'required' =&gt; false,
              'class' =&gt; array('form-row-first')
          );
          $fields['billing']['billing_country'] = array(
              'label' =&gt; '',
              'type' =&gt; 'select',
              'placeholder' =&gt; _x('Country', 'placeholder', 'woocommerce'),
              'required' =&gt; false,
              'class' =&gt; array('form-row-last'),
                'options'    =&gt; $countries
          );
          return $fields;
      }
  
  add_filter('woocommerce_checkout_fields', 'add_wc_custom_fields');
  </code></pre>