Merge pull request #4008 from RistoNiinemets/master
additional customer details hook
This commit is contained in:
commit
8fcb35c5dc
|
@ -100,6 +100,9 @@ $order = new WC_Order( $order_id );
|
||||||
<?php
|
<?php
|
||||||
if ($order->billing_email) echo '<dt>'.__( 'Email:', 'woocommerce' ).'</dt><dd>'.$order->billing_email.'</dd>';
|
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>';
|
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>
|
</dl>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue