title: Replace blank and zero displayed prices by a text on WooCommerce product variations too
body: <p>I need to arguments. <code>$blank_price</code> and <code>$zero_price</code>. If the product price is left blank (not filled in), the product page will display the value of the <code>$blank_price</code> argument and if the product price is set to 0, the value from the <code>$zero_price</code> argument should be displayed.</p>
  
  <p>I need this to work for both simple and variable products (variations).</p>
  
  <p>Here is what I have so far, which works fine for simple products. I need help adding code for variable products.</p>
  
  <p>The code:</p>
  
  <pre><code>add_filter( 'woocommerce_get_price_html', 'empty_and_zero_price_display', 20, 2 );
  function empty_and_zero_price_display( $price, $product ) {
      $blank_price = __('Price not yet set', 'woocommerce');
      $zero_price = __('Free', 'woocommerce');
  
      if( $product-&gt;is_type('simple') ) {
          if ( '' === $product-&gt;get_price() ) {
              return $blank_price;
          } else if (0 == $product-&gt;get_price() ) {
              return $zero_price;
          }
      }
      return $price;
  }
  </code></pre>
  
  <p>Any help is appreciated.</p>