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


Top ↑

Return Return

(boolean) If the removal was successful


Top ↑

Source Source

File: includes/class-edd-customer.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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