Malin a révisé ce gist . Aller à la révision
1 file changed, 7 insertions
sale-flash-label.php(fichier créé)
| @@ -0,0 +1,7 @@ | |||
| 1 | + | /* START Show sale flash label */ | |
| 2 | + | add_filter('woocommerce_sale_flash', 'ds_change_sale_text'); | |
| 3 | + | function ds_change_sale_text() { | |
| 4 | + | return '<span class="onsale">Oferta!</span>'; | |
| 5 | + | } | |
| 6 | + | ||
| 7 | + | /* END Show sale flash label */ | |
Plus récent
Plus ancien