BP_Email::set_subject( string $subject )
Set the email subject.
Description Description
Parameters Parameters
- $subject
-
(Required) Email subject.
Return Return
(BP_Email)
Source Source
File: bp-core/classes/class-bp-email.php
853 854 855 856 857 858 859 860 861 862 863 864 865 866 | public function set_subject( $subject ) { /** * Filters the new value of the subject email property. * * @since 2.5.0 * * @param string $subject Email subject. * @param BP_Email $this Current instance of the email type class. */ $this ->subject = apply_filters( 'bp_email_set_subject' , $subject , $this ); return $this ; } |
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |