apply_filters( 'um_email_send_subject', $subject, $key ) → {string}
Filters email notification subject.
Parameters:
Name | Type | Description |
---|---|---|
$subject |
string | Email subject. |
$key |
string | Email template key. |
- Since:
- 2.6.1
- Source:
Returns:
Email subject.
- Type
- string
Example
function my_email_send_subject( $subject, $key ) {
// your code here
return $subject;
}
add_filter( 'um_email_send_subject', 'my_email_send_subject', 10, 2 );