Skip to content

Instantly share code, notes, and snippets.

Last active August 19, 2020 18:19
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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

it doesnt work..

Copy link

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