I have a Wordpress plugin that, in part, sends an email to a user. I want to modify the email output to include additional information. The data I want added to the email is already available through another part of the plugin that allows the user to see the info when they download their voucher. I want the details included in the download voucher file to be included in the automatic email.
See attachments for the php files for each part of the plugin.