Guest User

Untitled

a guest
Oct 21st, 2019
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Remove Billing Fields
  2.  
  3. unset($fields['billing']['billing_first_name']); //Billing First Name
  4.  
  5. unset($fields['billing']['billing_last_name']); //Billing Last Name
  6.  
  7. unset($fields['billing']['billing_company']); //Billing Company
  8.  
  9. unset($fields['billing']['billing_address_1']); // Billing Address 1
  10.  
  11. unset($fields['billing']['billing_address_2']); // Billing Address 2
  12.  
  13. unset($fields['billing']['billing_city']); // Billing City
  14.  
  15. unset($fields['billing']['billing_postcode']); // Billing Postcode
  16.  
  17. unset($fields['billing']['billing_country']); // Billing Country
  18.  
  19. unset($fields['billing']['billing_state']); //Billing State
  20.  
  21. unset($fields['billing']['billing_phone']); // Billing Phone
  22.  
  23. unset($fields['billing']['billing_email']); //Billing Email
RAW Paste Data