Forums
Home / Plugin: Wallet for WooCommerce / Wallet balance Code
(@voilk)
5 years, 2 months ago
How to get wallet balance code ? I want to show a button if wallet balance is more than fifty. I use a elementor (condition).
(@subratamal)
@voilk to get user wallet balance please use woo_wallet()->wallet->get_wallet_balance(get_current_user_id(), 'edit');
woo_wallet()->wallet->get_wallet_balance(get_current_user_id(), 'edit');