RestroPress

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

rpress_email_attachments

The rpress_email_attachments filter allows you to add/remove file attachments for emails sent through RestroPress. It receives two parameters:

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

How can we help?