EDD_Customer::remove_payment( integer $payment_id, bool $update_stats = true )
Remove a payment from this customer, then triggers reducing stats
Description Description
Parameters Parameters
- $payment_id
-
(Required) The Payment ID to remove
- $update_stats
-
(Optional) For backwards compatibility, if we should increase the stats or not
Default value: true
Return Return
(boolean) If the removal was successful
Source Source
File: includes/class-edd-customer.php
Changelog Changelog
Version | Description |
---|---|
2.3 | Introduced. |