woocommerce_email_before_order_table action-hookWC 1.0

Usage

add_action( 'woocommerce_email_before_order_table', 'wp_kama_woocommerce_email_before_order_table_action', 10, 4 );

/**
 * Function for `woocommerce_email_before_order_table` action-hook.
 * 
 * @param  $order         
 * @param  $sent_to_admin 
 * @param  $plain_text    
 * @param  $email         
 *
 * @return void
 */
function wp_kama_woocommerce_email_before_order_table_action( $order, $sent_to_admin, $plain_text, $email ){

	// action...
}
$order
-
$sent_to_admin
-
$plain_text
-
$email
-

Where the hook is called

In file: /templates/emails/plain/email-order-details.php
woocommerce_email_before_order_table
woocommerce/templates/emails/plain/email-order-details.php 20
do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/email-order-details.php 22
do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email ); ?>

Where the hook is used in WooCommerce

woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 86
add_action( 'woocommerce_email_before_order_table', array( $this, 'email_instructions' ), 10, 3 );
woocommerce/includes/gateways/cheque/class-wc-gateway-cheque.php 55
add_action( 'woocommerce_email_before_order_table', array( $this, 'email_instructions' ), 10, 3 );
woocommerce/includes/gateways/cod/class-wc-gateway-cod.php 71
add_action( 'woocommerce_email_before_order_table', array( $this, 'email_instructions' ), 10, 3 );