WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
событие не описано

woocommerce_email_customer_details хук-событие . WC 1.0

Hook for woocommerce_email_customer_details.

Использование

add_action( 'woocommerce_email_customer_details', 'action_function_name_8624', 10, 4 );
function action_function_name_8624( $order, $sent_to_admin, $plain_text, $email ){
	// action...
}
$order
-
$sent_to_admin
-
$plain_text
-
$email
-

Где вызывается хук

В файле: /templates/emails/customer-invoice.php
woocommerce_email_customer_details
woocommerce/templates/emails/customer-invoice.php 84
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-completed-order.php 49
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-refunded-order.php 58
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-on-hold-order.php 48
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-failed-order.php 49
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-processing-order.php 51
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-note.php 54
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-new-order.php 46
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-completed-order.php 48
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-refunded-order.php 53
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-on-hold-order.php 47
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-failed-order.php 46
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-processing-order.php 48
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-note.php 55
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-invoice.php 67
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-new-order.php 46
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-cancelled-order.php 46
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-cancelled-order.php 48
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );

Где используется хук в ядре WooCommerce

woocommerce/templates/emails/customer-invoice.php 198
add_action( 'woocommerce_email_customer_details', array( $this, 'customer_details' ), 10, 3 );
woocommerce/templates/emails/customer-invoice.php 199
add_action( 'woocommerce_email_customer_details', array( $this, 'email_addresses' ), 20, 3 );