Remove “on sale” badge on WooCommerce

[cc lang=”php”]function wpsnip_remove_sales_flash() {

return false;

}
add_filter( ‘woocommerce_sale_flash’, ‘wpsnip_remove_sales_flash’ );
[/cc]

Newsletter

I’ll be creating more content about starting and running WordPress plugin businesses. You can follow the journey by joining my mail list.

Leave a Comment