title: Need to Change Sale Badge Text in WooCommerce
body: <p>The following works for the Product page but it does not work for the Shop page.  </p>
  
  <pre><code>&lt;?php
  add_filter('woocommerce_sale_flash', 'woocommerce_custom_sale_text', 10, 3);
  function woocommerce_custom_sale_text($text, $post, $_product)
  {
      return '&lt;span class="onsale"&gt;PUT YOUR TEXT&lt;/span&gt;';
  }
  </code></pre>
  
  <p>Please suggest modifications.
  Thanks!</p>