additional customer details hook

This commit is contained in:
RistoNiinemets 2013-10-25 13:54:49 +03:00
parent dfe4027ac7
commit 388e962dc9
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>