Author: bibhu 576 views

This filter can be used to customize the email that is sent to site admins when a food item 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