Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save geektutor/bbfadb73db18da10ce73edafd513e1b4 to your computer and use it in GitHub Desktop.
Save geektutor/bbfadb73db18da10ce73edafd513e1b4 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