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

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

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

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

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

В файле: /templates/emails/email-order-details.php
woocommerce_email_before_order_table
woocommerce/templates/emails/email-order-details.php 24
do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email ); ?>
woocommerce/templates/emails/plain/email-order-details.php 22
do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email );

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

includes/gateways/bacs/class-wc-gateway-bacs.php 72
add_action( 'woocommerce_email_before_order_table', array( $this, 'email_instructions' ), 10, 3 );
includes/gateways/cheque/class-wc-gateway-cheque.php 48
add_action( 'woocommerce_email_before_order_table', array( $this, 'email_instructions' ), 10, 3 );
includes/gateways/cod/class-wc-gateway-cod.php 47
add_action( 'woocommerce_email_before_order_table', array( $this, 'email_instructions' ), 10, 3 );