Merge pull request #4008 from RistoNiinemets/master

additional customer details hook
This commit is contained in:
Mike Jolley 2013-10-25 07:56:04 -07:00
commit 8fcb35c5dc
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ $order = new WC_Order( $order_id );
<?php
if ($order->billing_email) echo '<dt>'.__( 'Email:', 'woocommerce' ).'</dt><dd>'.$order->billing_email.'</dd>';
if ($order->billing_phone) echo '<dt>'.__( 'Telephone:', 'woocommerce' ).'</dt><dd>'.$order->billing_phone.'</dd>';
// Additional customer details hook
do_action( 'woocommerce_order_details_after_customer_details', $order );
?>
</dl>