edd_email_default_content_type

The edd_email_default_content_type filter is applied to the content-type header for all emails sent through Easy Digital Downloads. It receives two parameters:

  • $content_type - The default content type to be used if one is not specified. Defaults to text/html
  • $emails_object - The current instance of the EDD_Emails class