Function affiliates_update_referral
Update the referral.
array |
$referral_id |
$attributes to update, supports: affiliate_id, post_id, datetime, description, amount, currency_id, status, reference |
|
$attributes |
array
|
with keys, values and old_values or null if nothing was updated |