title: Change "add to cart" text to the price of the product
body: <p>I want to change the text of my "add-to-cart" button in woocommerce to the current price of that product. With the code below I can change the text. This works fine.</p>
  
  <pre><code>add_filter( 'woocommerce_product_add_to_cart_text', 'woo_custom_cart_button_text');
  function woo_custom_cart_button_text($button_text) {
  $button_text -&gt; 'hello!';
  return __($button_text, 'woocommerce' );
  }
  </code></pre>
  
  <p>But now I want to change that text in the price of the product. I've tried the following code, replacing line 3 with:</p>
  
  <pre><code>$button_text-&gt;get_price_html();
  </code></pre>
  
  <p>But that gives me an error. Any idea's how to solve this problem? </p>