EDD_Payment::add_download( int $download_id, array $args = array(), array $options = array() )

Add a download to a given payment


Description Description


Parameters Parameters

$download_id

(Required) The download to add

$args

(Optional) Other arguments to pass to the function

Default value: array()

$options

(Optional) List of download options

Default value: array()


Top ↑

Return Return

(bool) True when successful, false otherwise


Top ↑

Source Source

File: includes/payments/class-edd-payment.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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