Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save webdados/9849d91c5cba92145c545fec03467155 to your computer and use it in GitHub Desktop.
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
<?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