apply_filters( 'um_email_send_message_content', $message, $slug, $args ) → {string}
Filters email notification message content.
Parameters:
Name | Type | Description |
---|---|---|
$message |
string | Message content. |
$slug |
string | Template slug. |
$args |
array | Notification arguments. |
- Since:
- 2.0
- Source:
Returns:
Message Content.
- Type
- string
Example
function my_email_send_message_content( $message, $slug, $args ) {
// your code here
return $message;
}
add_filter( 'um_email_send_message_content', 'my_email_send_message_content', 10, 3 );