Skip to content

Instantly share code, notes, and snippets.

@iyut
Created April 28, 2021 09:10
Show Gist options
  • Save iyut/b9d583d222a294b91e0e563dcdf53b6b to your computer and use it in GitHub Desktop.
Save iyut/b9d583d222a294b91e0e563dcdf53b6b to your computer and use it in GitHub Desktop.
Remove postcode field on WooCommerce shipping calculator
add_filter( 'woocommerce_shipping_calculator_enable_postcode', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment