This action allows you to execute custom actions when a users balance is changed to a specific amount. This action will only fire when the set_users_balance() function is used. It will not fire when the update_users_balance() function is used!

vailable since version 1.7.3


Param Type Required Description
$user_id int No

The numeric user ID.

$new_balance int or float No

The users new balance.

$old_balance int or float No

The users old balance before it was changed. (Added in 1.7.4)

$mycred obj No

The myCRED_Settings class object.

Used By

Package Prio. Description
Not used by any built-in package.


No example found.