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


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/emails/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.8 - Add parameters for EDD_Payment and EDD_Customer object.
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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