Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save matrixkloud/cf2dc7f8bb74d72d1ebd4f2e0cdd1543 to your computer and use it in GitHub Desktop.

Select an option

Save matrixkloud/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