edd_email_attachments

The edd_email_attachments filter allows you to add / remove file attachments for emails sent through Easy Digital Downloads. It receives two parameters:

  • $attachments – The attachments already attached to the email (none by default)
  • $emails_object – The current instance of the EDD_Emails class