SHARE
TWEET

Untitled

a guest Oct 21st, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Remove shipping Fields
  2.  
  3. unset($fields['shipping']['shipping_first_name']);  //shipping First Name
  4.  
  5. unset($fields['shipping']['shipping_last_name']);   //shipping Last Name
  6.  
  7. unset($fields['shipping']['shipping_company']);     //shipping Company
  8.  
  9. unset($fields['shipping']['shipping_address_1']);   // shipping Address 1
  10.  
  11. unset($fields['shipping']['shipping_address_2']);   // shipping Address 2
  12.  
  13. unset($fields['shipping']['shipping_city']);        // shipping City
  14.  
  15. unset($fields['shipping']['shipping_postcode']);    // shipping Postcode
  16.  
  17. unset($fields['shipping']['shipping_country']);     // shipping Country
  18.  
  19. unset($fields['shipping']['shipping_state']);       //shipping State
  20.  
  21. unset($fields['shipping']['shipping_email']);       //shipping Email
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top