woocommerce_email_customer_details

Customer details.

Description

do_action( 'woocommerce_email_customer_details', (unknown) $order, (unknown) $sent_to_admin, (unknown) $plain_text, (unknown) $email ); 

Parameters (4)

0. $order (unknown)
The order.
1. $sent_to_admin (unknown)
The sent to admin.
2. $plain_text (unknown)
The plain text.
3. $email (unknown)
The email.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); 
The following example is for adding a hook callback.
  1. // define the woocommerce_email_customer_details callback 
  2. function action_woocommerce_email_customer_details( $order, $sent_to_admin, $plain_text, $email ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'woocommerce_email_customer_details', 'action_woocommerce_email_customer_details', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'woocommerce_email_customer_details', 'action_woocommerce_email_customer_details', 10, 4 ); 

Defined (2)

The action is defined in the following location(s).

/templates/emails/plain/customer-paid-for-order.php  
  1. do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); 
/templates/emails/customer-paid-for-order.php  
  1. do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );