title: Hide billing address from checkout page but keep the information
body: <p>I want to hide the billing address from the checkout page (not remove it) and make the billing address set for the first time when registered?</p>
  
  <p>To allow display on the bill .pdf</p>
  
  <p>I add this code:</p>
  
  <pre><code>&lt;?php
  
  add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
  
  function custom_override_checkout_fields( $fields ) {
      unset($fields['billing']['billing_first_name']);
      unset($fields['billing']['billing_last_name']);
      unset($fields['billing']['billing_company']);
      unset($fields['billing']['billing_address_1']);
      unset($fields['billing']['billing_address_2']);
      unset($fields['billing']['billing_city']);
      unset($fields['billing']['billing_postcode']);
      unset($fields['billing']['billing_country']);
      unset($fields['billing']['billing_state']);
      unset($fields['billing']['billing_phone']);
      unset($fields['order']['order_comments']);
      unset($fields['billing']['billing_address_2']);
      unset($fields['billing']['billing_postcode']);
      unset($fields['billing']['billing_company']);
      unset($fields['billing']['billing_last_name']);
      unset($fields['billing']['billing_email']);
      unset($fields['billing']['billing_city']);
      return $fields;
  }
  </code></pre>
  
  <p>And by adding this code, the billing address wasn't added to the pdf bill</p>
  
  <p>So which code shall I add or edit?</p>
  
  <p>Thank you in advance.</p>