Cashback events
Last updated
Last updated
Cashback Tracker - is plugin for tracking and statistic. Maybe you want to extend it's functions. For this, we added several hooks
You must have code skills for PHP and WordPress to understand this part of documentation.
Cashback Tracker has three events which you can use for custom functions
Example of hook:
Variable will have array with next data:
Example of code to calculate cashback and currency:
cbtrkr_order_create
new order was added with pending status
cbtrkr_order_approve
order got approved status
cbtrkr_order_decline
order got declined status