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

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

Hook for the woocommerce_email_order_meta.

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

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

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

В файле: /templates/emails/customer-invoice.php
woocommerce_email_order_meta
woocommerce/templates/emails/customer-invoice.php 76
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-completed-order.php 44
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-refunded-order.php 54
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-on-hold-order.php 44
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-failed-order.php 43
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-processing-order.php 45
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-note.php 48
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-new-order.php 42
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-completed-order.php 44
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-refunded-order.php 48
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-on-hold-order.php 43
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-failed-order.php 42
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-processing-order.php 44
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-note.php 52
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-invoice.php 58
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-new-order.php 42
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-cancelled-order.php 42
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-cancelled-order.php 43
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );

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

includes/class-wc-emails.php 192
add_action( 'woocommerce_email_order_meta', array( $this, 'order_meta' ), 10, 3 );