BP_Email::set_content_plaintext( string $content )
Set the email content (plain text).
Description Description
Parameters Parameters
- $content
-
(Required) Plain text email content.
Return Return
(BP_Email)
Source Source
File: bp-core/classes/class-bp-email.php
public function set_content_plaintext( $content ) { /** * Filters the new value of the email's "content" property (plain text). * * @since 2.5.0 * * @param string $content Plain text email content. * @param BP_Email $this Current instance of the email type class. */ $this->content_plaintext = apply_filters( 'bp_email_set_content_plaintext', $content, $this ); return $this; }
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |