Skip to content

Instantly share code, notes, and snippets.

@BFTrick
Created May 18, 2016 11:32
Show Gist options
  • Save BFTrick/d45f99dfd292d72ece02ef9b50167100 to your computer and use it in GitHub Desktop.
Save BFTrick/d45f99dfd292d72ece02ef9b50167100 to your computer and use it in GitHub Desktop.
Always show shipping fields in WooCommerce checkout
<?php
add_filter( 'woocommerce_cart_needs_shipping', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment