RestroPress

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

rpress_email_default_content_type

The rpress_email_default_content_type filter is applied to the content-type header for all emails sent through restropress. 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 rpress_emails class

How can we help?