apply_filters( 'bp_email_set_content_type', string $content_type , BP_Email $this )
Filters the new value of the email’s “content type” property.
Description
The content type (HTML or plain text) to send the email in.
Parameters
- $content_type
-
Email content type ("html" or "plaintext").
- $this
-
Current instance of the email type class.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.5.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.