Skip to content

Instantly share code, notes, and snippets.

Created Jul 30, 2018
What would you like to do?
* Change the label of the combined shipping.
add_filter( 'wc_combined_shipping_free_shipping_label', function( $text, $last_order_id, $last_order_date ) {
return sprintf( 'Free shipping when combined with order #%s', $last_order_id );
}, 10, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment