Renaming Shipping

Don’t like the “Shipping” terminology?  Or the Shipping concept isn’t really relevant, maybe you deliver items locally without using a ship?

add_filter( 'woocommerce_shipping_package_name' , function($package_name, $i, $package){
  return sprintf( _nx( 'Dispatch', 'Dispatch %d', ( $i + 1 ), 'shipping packages', 'text-domain' ), ( $i + 1 ) );
}, 10, 3);

 


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.