Created
August 28, 2018 20:47
-
-
Save clifgriffin/2640a89a57d0e60cac8dee25138cb1a1 to your computer and use it in GitHub Desktop.
Hide shipping tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Do NOT include the opening php tag. | |
// Place in your theme's functions.php file | |
// Hide shipping tab on checkout page, even if shippable items are in the cart | |
// This will probably create problems unless you have only one shipping option and it isn't location / zone based | |
add_filter('cfw_show_shipping_tab', '__return_false'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment