edd_sale_notification

This filter can be used to customize the email that is sent to site admins when a download purchase is made.

The filter accepts three parameters:

  • $admin_message – an HTML string containing the contents of the email
  • $payment_id – the numerical ID of the purchase
  • $payment_data – an array of meta data for the payment