Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Do not pass email to DHL API
add_filter('pr_shipping_dhl_label_args', 'remove_email_number', 10, 2);
function remove_email_number($args, $order_id) {
return $args;

This comment has been minimized.

Copy link
Owner Author

@shadimanna shadimanna commented Apr 14, 2020

Change "email" for "phone" to unset phone number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment