BP_Email::set_subject( string $subject )
Set the email subject.
Description
Parameters
- $subject
-
(Required) Email subject.
Return
(BP_Email)
Source
File: bp-core/classes/class-bp-email.php
public function set_subject( $subject ) { /** * Filters the new value of the subject email property. * * @since BuddyPress 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
Version | Description |
---|---|
BuddyPress 2.5.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.