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"


Top ↑

Source Source

File: includes/payments/actions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.2.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.