title: Display Woocommerce Subscription recurring total in minicart
body: <p>Trying to get Woocommerce Subscription recurring total to show up in the minicart. There seems to be a few different functions that might help to achieve that, but none of them seems to work out of the box. Any advice?</p>
  
  <p>Echoing the following function will eventually after a few page refreshes display the recurring total (VAT incl.):</p>
  
  <pre><code>WC_Subscriptions_Cart::calculate_subscription_totals();
  </code></pre>
  
  <p>Problem is that it also changes the normal one-time payment subtotal (VAT excl.) to recurring subtotal (VAT excl.). Normal subtotal is echoed with WC()->cart->get_cart_subtotal().</p>
  
  <p>These are other recurring total related functions that might help with solving this:</p>
  
  <pre><code>WC_Subscriptions_Cart::get_recurring_cart_contents_total();
  WC_Subscriptions_Cart::display_recurring_totals();
  </code></pre>
  
  <p>If any help, source code can be reviewed in <a href="https://github.com/wp-premium/woocommerce-subscriptions" rel="nofollow">https://github.com/wp-premium/woocommerce-subscriptions</a></p>