Skip to content

Instantly share code, notes, and snippets.

@sonnetmia
Forked from WillBrubaker/gist:49ccb5365a8632b8af8e
Last active June 2, 2016 03:05
Show Gist options
  • Save sonnetmia/cf2dc7f8bb74d72d1ebd4f2e0cdd1543 to your computer and use it in GitHub Desktop.
Save sonnetmia/cf2dc7f8bb74d72d1ebd4f2e0cdd1543 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