Created
February 7, 2017 14:44
-
-
Save stuartduff/fa6212dc52f773141a093a4b81a77849 to your computer and use it in GitHub Desktop.
Remove the WooCommerce sales badge from products using a filter
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
| function sd_custom_hide_sales_flash() { | |
| return false; | |
| } | |
| add_filter( 'woocommerce_sale_flash', 'sd_custom_hide_sales_flash' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment