BP_Email::get_subject( string $transform = 'raw' )
Get the email subject.
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) Email subject.
Source Source
File: bp-core/classes/class-bp-email.php
public function get_subject( $transform = 'raw' ) { return $this->get( 'subject', $transform ); }
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |