Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Do not pass phone number to DHL API
add_filter('pr_shipping_dhl_label_args', 'remove_phone_number', 10, 2);
function remove_phone_number($args, $order_id) {
return $args;
Copy link

mergimrexha commented Jun 24, 2019

it doesnt work..

Copy link

mergimrexha commented Aug 21, 2019

It works but you have to update Wordpress and also the plugin for example woocommerce.

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