WordPress at Your Fingertips
action is not described

woocommerce_email_order_details action-hook . WC 2.5.0

Hook for the woocommerce_email_order_details.

Usage

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

Changelog

Since 2.5.0 Introduced.

Where the hook is called

In file: /templates/emails/customer-invoice.php
woocommerce_email_order_details
woocommerce/templates/emails/customer-invoice.php 69
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-completed-order.php 38
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-refunded-order.php 47
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-on-hold-order.php 37
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-failed-order.php 38
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-processing-order.php 40
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/customer-note.php 43
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-new-order.php 35
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-completed-order.php 35
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-refunded-order.php 40
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-on-hold-order.php 34
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-failed-order.php 33
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-processing-order.php 35
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-note.php 42
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/customer-invoice.php 50
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-new-order.php 33
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/plain/admin-cancelled-order.php 33
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/admin-cancelled-order.php 37
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );

Where in WP core the hook is used WooCommerce

woocommerce/includes/class-wc-emails.php 195
add_action( 'woocommerce_email_order_details', array( $this, 'order_downloads' ), 10, 4 );
woocommerce/includes/class-wc-emails.php 196
add_action( 'woocommerce_email_order_details', array( $this, 'order_details' ), 10, 4 );
woocommerce/includes/class-wc-structured-data.php 32
add_action( 'woocommerce_email_order_details', array( $this, 'generate_order_data' ), 20, 3 );
woocommerce/includes/class-wc-structured-data.php 35
add_action( 'woocommerce_email_order_details', array( $this, 'output_email_structured_data' ), 30, 3 );