Skip to content

Instantly share code, notes, and snippets.

@DustinHartzler
Created March 21, 2016 20:41
Show Gist options
  • Save DustinHartzler/9357e39ad055418f2b56 to your computer and use it in GitHub Desktop.
Save DustinHartzler/9357e39ad055418f2b56 to your computer and use it in GitHub Desktop.
<?php // only copy this line if needed
function sv_wc_pip_after_customer_addresses_add_custom_field( $type, $action, $document, $order ) {
echo $order->billing_wcj_checkout_field_1;
}
add_action( 'wc_pip_after_customer_addresses', 'sv_wc_pip_after_customer_addresses_add_custom_field', 10, 4 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment