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 Description
The content type (HTML or plain text) to send the email in.
Parameters Parameters
- $content_type
-
Email content type ("html" or "plaintext").
- $this
-
Current instance of the email type class.
Source Source
File: bp-core/classes/class-bp-email.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |