This filter allows you to make adjustments to a transaction request before it is executed. If you need to stop a transaction you can set the amount to zero, however you should use the mycred_add filter to determine if a transaction should be stopped.
An associative array representing the transaction that is to be processed.
The myCRED_Settings class object processing the transaction request.
Example 1: Multiply the amount of points users gets based on their WordPress role. Administrators are excluded.
Example 2: Whenever a user on our website is to gain points, we double the value.