Last active
October 1, 2017 15:23
-
-
Save leanda/70a4d0f132085ccaaa1c2a6328e163b7 to your computer and use it in GitHub Desktop.
Woocommerce Disable Variable Product Price Range completely #woocommerce
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
/* | |
* Disable Variable Product Price Range completely: | |
*/ | |
add_filter('woocommerce_variable_price_html','custom_from',10); | |
add_filter('woocommerce_grouped_price_html','custom_from',10); | |
add_filter('woocommerce_variable_sale_price_html','custom_from',10); | |
function custom_from($price){ | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment