Skip to content

Instantly share code, notes, and snippets.

@cryptexvinci
Last active December 13, 2018 05:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cryptexvinci/3ac68fa2642e3e8df191ddee656250b1 to your computer and use it in GitHub Desktop.
Save cryptexvinci/3ac68fa2642e3e8df191ddee656250b1 to your computer and use it in GitHub Desktop.
Full list of fields in the array passed to woocommerce_checkout_fields.
/**
* Billing Checkout Fields
*/
billing_first_name
billing_last_name
billing_company
billing_address_1
billing_address_2
billing_city
billing_postcode
billing_country
billing_state
billing_email
billing_phone
/**
* Shipping Checkout Fields
*/
shipping_first_name
shipping_last_name
shipping_company
shipping_address_1
shipping_address_2
shipping_city
shipping_postcode
shipping_country
shipping_state
/**
* Account Checkout Fields
*/
account_username
account_password
account_password-2
/**
* Order Checkout Fields
*/
order_comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment