title: How to add custom icon badge for qualified products in WordPress
body: <p>I found the following code allows you to add custom image badge for sale</p>
  
  <pre><code>&lt;php
      add_filter( 'woocommerce_sale_flash', 'my_custom_sales_badge' );
      function my_custom_sales_badge() {
      $img = '&lt;span class="onsale"&gt;&lt;img src="http://yourwebsite.com/wp-content/uploads/2014/11/custom- 
      sales-badge.png" /&gt;&lt;/span&gt;';
      return $img;
  }
  CSS
  span.onsale {
      background: none;
      box-shadow: none;
  }
  </code></pre>
  
  <p>This code is not related to sale flash products.
  What I would like to do is to add a customize icon as a badge for qualified products.
  I assumed that I just find the right argument for add_filter but I didn't find anything. </p>