edd_email_purchase_receipt( int $payment_id, bool $admin_notice = true, $to_email = '', EDD_Payment $payment = null, EDD_Customer $customer = null )
Email the download link(s) and payment confirmation to the buyer in a customizable Purchase Receipt
Description Description
Parameters Parameters
- $payment_id
-
(Required) Payment ID
- $admin_notice
-
(Optional) Whether to send the admin email notification or not (default: true)
Default value: true
- $payment
-
(Optional) Payment object for payment ID.
Default value: null
- $customer
-
(Optional) Customer object for associated payment.
Default value: null
Return Return
(void)
Source Source
File: includes/emails/functions.php
Changelog Changelog
Version | Description |
---|---|
2.8 | - Add parameters for EDD_Payment and EDD_Customer object. |
1.0 | Introduced. |