woocommerce_email_header

The WooCommerce Germanized woocommerce email header hook.

Description

do_action( 'woocommerce_email_header', (unknown) $email_heading, (unknown) $email ); 

Parameters (2)

0. $email_heading (unknown)
The email heading.
1. $email (unknown)
The email.

Usage

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

Defined (6)

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

/templates/emails/customer-trusted-shops.php  
  1. <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> 
/templates/emails/customer-sepa-direct-debit-mandate.php  
  1. <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> 
/templates/emails/customer-revocation.php  
  1. <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> 
/templates/emails/customer-paid-for-order.php  
  1. do_action( 'woocommerce_email_header', $email_heading, $email ); ?> 
/templates/emails/customer-new-account-activation.php  
  1. <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> 
/templates/emails/customer-ekomi.php  
  1. <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>