edd_clear_user_history_cache( int $payment_id, string $new_status, string $old_status )
Flushes the current user’s purchase history transient when a payment status is updated
Description Description
Parameters Parameters
- $payment_id
-
(Required) the ID number of the payment
- $new_status
-
(Required) the status of the payment, probably "publish"
- $old_status
-
(Required) the status of the payment prior to being marked as "complete", probably "pending"
Source Source
File: includes/payments/actions.php
Changelog Changelog
Version | Description |
---|---|
1.2.2 | Introduced. |