Created
December 23, 2020 10:57
-
-
Save webdados/9849d91c5cba92145c545fec03467155 to your computer and use it in GitHub Desktop.
Show "DPD Portugal for WooCommerce" email tracking information before the customer details instead before order details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woo_dpd_portugal_email_tracking_hook_action', function( $action ) { | |
return 'woocommerce_email_customer_details'; | |
} ); | |
add_filter( 'woo_dpd_portugal_email_tracking_hook_priority', function( $priority ) { | |
return 1; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment