edd_delete_purchase( int $payment_id, bool $update_customer = true, bool $delete_download_logs = false )

Deletes a Purchase


Description Description


Parameters Parameters

$payment_id

(Required) Payment ID (default: 0)

$update_customer

(Optional) If we should update the customer stats (default:true)

Default value: true

$delete_download_logs

(Optional) If we should remove all file download logs associated with the payment (default:false)

Default value: false


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/payments/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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