EDD_Payment::remove_download( int $download_id, array $args = array() )
Remove a download from the payment
Description Description
Parameters Parameters
- $download_id
-
(Required) The download ID to remove
- $args
-
(Optional) Arguments to pass to identify (quantity, amount, price_id)
Default value: array()
Return Return
(bool) If the item was removed or not
Source Source
File: includes/payments/class-edd-payment.php
Changelog Changelog
Version | Description |
---|---|
2.5 | Introduced. |