• Resolved nicorubrixcreations

    (@nicorubrixcreations)


    Are there any hooks available to use in functions.php

    For example a debit and credit function. And a function to show the wallet amount, just the number.

    Things like this?

    $wallet = woo_wallet_wallet ();
    $wallet ->credit($user_id,(amount), ‘credit’,)

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hey,

    Thank you for your query

    To debit amount manually we have given function already
    wps_wsfw_update_user_wallet_balance( $user_id, $amount, $order_id = ” )

    If you want to use API then also you can and it will work perfectly

    Still any issues please let us know

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Available hooks’ is closed to new replies.