Support » Plugin: TeraWallet - For WooCommerce » Add or reduce wallet amount using php

  • Resolved ho3einie

    (@ho3einie)


    Hello, I am using tera wallet plugin and my own plugin. I want to control wallet amount using php. thanks for helping…

    • This topic was modified 10 months, 1 week ago by ho3einie.
Viewing 1 replies (of 1 total)
  • Dir => \woo-wallet\includes\class-woo-wallet-wallet.php
    class name : Woo_Wallet_Wallet

    Methods :
    ————
    Example User ID = 14

    Amount : get_wallet_balance( 14, '' );
    Credit : credit( 14, 18000 , 'Credit Automatic By PHP' );
    Debit : debit( 14, 18000 , 'DebitAutomatic By PHP' );

Viewing 1 replies (of 1 total)
  • The topic ‘Add or reduce wallet amount using php’ is closed to new replies.