BP_Email::get_content_plaintext( string $transform = 'raw' )
Get the email content (in plaintext).
Description Description
Unlike most other methods in this class, this one is not chainable.
Parameters Parameters
- $transform
-
(Optional) How to transform the return value. Accepts 'raw' (default) or 'replace-tokens'.
Default value: 'raw'
Return Return
(string) Plain text email content.
Source Source
File: bp-core/classes/class-bp-email.php
public function get_content_plaintext( $transform = 'raw' ) { return $this->get( 'content_plaintext', $transform ); }
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |