Add the template to the message body.
Looks for {{content}} or {{notification_message}} in the template and replaces it with the message.
Uses email.template filter hook.
- Full name:
set_email_template - Defined in:
cms/core/Shared/Helpers/core.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$body |
string | The message to templatize. |
Return Value
string
$email The email surrounded by template.