Hook actionEmailAddBeforeContent

Information

Add extra content before mail content:

This hook is called just before fetching mail template

Hook locations:

  • front office

Hook type: action

Located in:

This hook has an $array_return parameter set to true (module output will be set by name in an array, see explaination here).

Call of the Hook in the origin file

Hook::exec(
                'actionEmailAddBeforeContent',
                [
                    'template' => $template,
                    'template_html' => &$templateHtml,
                    'template_txt' => &$templateTxt,
                    'id_lang' => (int) $idLang,
                ],
                null,
                true
            )