To add a single custom Order field that collates all of the Billing or Shipping address details add the following PHP snippets to your current WordPress Theme’s functions.php file.
Note: If you are applying both PHP snippets use different PHP function names, if you need help reach out on Support.
Billing address fields
View CodeShipping address fields
View Code