• Resolved mbtocalli

    (@mbtocalli)


    I can get current user wallet balance using this code
    woo_wallet()->wallet->get_wallet_balance($user_id)
    but this prints a formatted value like this:
    <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$</span>2,000.00</span>

    Is there a way to get just 2000,00?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘get unformatted wallet balance’ is closed to new replies.