Created
June 17, 2015 17:47
-
-
Save WPprodigy/a2638976d6ad3c50635b to your computer and use it in GitHub Desktop.
Make all WooCommerce products appear to be purchasable
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
add_filter('woocommerce_is_purchasable', '__return_true'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment