Created
October 11, 2019 13:48
-
-
Save darrylmorley/de1a5e5a57068706dd5d77cb8a03204a to your computer and use it in GitHub Desktop.
Disable Sales & Buy Button #woocommerce
This file contains hidden or 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
//* Disable Purchases | |
add_filter( 'woocommerce_is_purchasable', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment