Function edd_clear_user_history_cache
Flushes the current user's purchase history transient when a payment status is updated
Package: EDD\Payments
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.2.2
Located at includes/payments/actions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.2.2
Located at includes/payments/actions.php
Parameters summary
integer |
$payment_id |
$payment Payment ID |
string |
$new_status |
the status of the payment, probably "publish" |
string |
$old_status |
the status of the payment prior to being marked as "complete", probably "pending" |