Malin revidoval tento gist . Přejít na revizi
1 file changed, 7 insertions
sale-flash-label.php(vytvořil soubor)
@@ -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 */ |
Novější
Starší