📅  最后修改于: 2022-03-11 15:00:01.588000             🧑  作者: Mango
add_filter('woocommerce_sale_flash', 'ydcoza_custom_sales_badge');
function ydcoza_custom_sales_badge() {
$url = site_url().'/wp-content/uploads/2021/03/best_seller_sash.png';
$img = '';
return $img;
}