Created
September 21, 2019 18:29
-
-
Save claudiosanches/e0cfce98ef39053af022e29044eb9727 to your computer and use it in GitHub Desktop.
WooCommerce - Change "Sale!" 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( $string ) { | |
echo '<span class="onsale">Promoção!</span>' | |
}, 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment