Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created June 20, 2022 20:47
Show Gist options
  • Save lukecav/1537246cbc38a7fa0ea1a66ba0d76058 to your computer and use it in GitHub Desktop.
Save lukecav/1537246cbc38a7fa0ea1a66ba0d76058 to your computer and use it in GitHub Desktop.
Disable default shipping method selected in WooCommerce
add_filter( 'woocommerce_shipping_chosen_method', '__return_false', 99);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment