最后活跃于 1713290588

Malin's Avatar Malin 修订了这个 Gist 1713290588. 跳至此修订

1 file changed, 7 insertions

sale-flash-label.php(file created)

@@ -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 */
更新 更早