• when transfers, deposits and withdrawals are done i am assuming that info will be added to the mysqli DB?

    if so can you point me to where those calls are made? i want to add another few calls to update some other parts of the site …

    i thought worse case i could do it in the notifications.php

    but thought it be better to maybe just stick it where it already is…

    wow the things that can be done with this!

Viewing 1 replies (of 1 total)
  • Plugin Author dashed-slug.net

    (@dashedslug)

    The best course of action would be to bind to the actions you found in the notifications. The insert SQLs are in transactions.php, where you can see the names of the notification actions called with do_action():

    wallets_action_withdraw
    wallets_action_move_send
    wallets_action_move_receive
    wallets_action_deposit
    wallets_action_withdraw_failed
    wallets_action_move_send_failed

    This way ensures you don’t have to edit any plugin code. You can code the bindings in your own plugin or theme.

    • This reply was modified 6 years, 11 months ago by dashed-slug.net. Reason: added rationale
Viewing 1 replies (of 1 total)
  • The topic ‘Database questions’ is closed to new replies.