Skip to content

Instantly share code, notes, and snippets.

@ncyhere
Last active October 3, 2019 08:02
Show Gist options
  • Save ncyhere/0524a6fbc6a747c18a2e1d111bef6841 to your computer and use it in GitHub Desktop.
Save ncyhere/0524a6fbc6a747c18a2e1d111bef6841 to your computer and use it in GitHub Desktop.
Remove billing Fields
//Remove Billing Fields
unset($fields['billing']['billing_first_name']); //Billing First Name
unset($fields['billing']['billing_last_name']); //Billing Last Name
unset($fields['billing']['billing_company']); //Billing Company
unset($fields['billing']['billing_address_1']); // Billing Address 1
unset($fields['billing']['billing_address_2']); // Billing Address 2
unset($fields['billing']['billing_city']); // Billing City
unset($fields['billing']['billing_postcode']); // Billing Postcode
unset($fields['billing']['billing_country']); // Billing Country
unset($fields['billing']['billing_state']); //Billing State
unset($fields['billing']['billing_phone']); // Billing Phone
unset($fields['billing']['billing_email']); //Billing Email
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment