Skip to content

Instantly share code, notes, and snippets.

@WillBrubaker
Created May 20, 2015 20:47
Show Gist options
  • Save WillBrubaker/49ccb5365a8632b8af8e to your computer and use it in GitHub Desktop.
Save WillBrubaker/49ccb5365a8632b8af8e to your computer and use it in GitHub Desktop.
Remove the postcode field from the 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