Skip to content

Instantly share code, notes, and snippets.

@bhavik-kiri
Created December 4, 2017 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhavik-kiri/0096b67efab1274061ca56cc189413e4 to your computer and use it in GitHub Desktop.
Save bhavik-kiri/0096b67efab1274061ca56cc189413e4 to your computer and use it in GitHub Desktop.
<?php
add_action( 'woocommerce_after_checkout_billing_form', 'display_extra_fields_after_billing_address' , 10, 1 );
function display_extra_fields_after_billing_address () {
_e( "Delivery Date: ", "add_extra_fields");
?>
<br>
<input type="text" name="add_delivery_date" class="add_delivery_date" placeholder="Delivery Date">
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment