Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // WooCommerce - Custom sale badge text
- // code goes in functions.php for your child theme
- add_filter('woocommerce_sale_flash', 'custom_sale_text', 40);
- function custom_sale_text() {
- return '<span class="onsale">SPRING SALE!</span>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement