change priority on custom email addresses in emails, so plugins can insert data between customer_details and addresses

This commit is contained in:
Kathy Darling 2015-05-06 14:10:06 +02:00
parent af6998fe4d
commit bbf928ea9e
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class WC_Emails {
add_action( 'woocommerce_email_footer', array( $this, 'email_footer' ) );
add_action( 'woocommerce_email_order_meta', array( $this, 'order_meta' ), 10, 3 );
add_action( 'woocommerce_email_customer_details', array( $this, 'customer_details' ), 10, 3 );
add_action( 'woocommerce_email_customer_details', array( $this, 'email_addresses' ), 10, 3 );
add_action( 'woocommerce_email_customer_details', array( $this, 'email_addresses' ), 20, 3 );
// Hooks for sending emails during store events
add_action( 'woocommerce_low_stock_notification', array( $this, 'low_stock' ) );