Created
February 1, 2023 10:03
-
-
Save sarancartrabbit/d848fc8d166fa892be6fc243c3b47927 to your computer and use it in GitHub Desktop.
Woo Discount Rules: For changing the sale tag text
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_sale_flash', function ($html, $post, $_product) { | |
return '<span class="sale" style="background-color:#ddd;">Aktion!</span>'; | |
},10,3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment