RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_sale_notification

rpress_sale_notification

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

How can we help?