Render fonts on frontend

[MAILPOET-2849]
This commit is contained in:
Pavel Dohnal
2020-06-02 16:58:16 +02:00
committed by Veljko V
parent 96de820440
commit 7310bb9bcf
3 changed files with 17 additions and 0 deletions

View File

@ -157,6 +157,7 @@ class DisplayFormInWPContent {
$templateData['delay'] = $formSettings[$displayType . '_form_delay'] ?? 0;
$templateData['position'] = $formSettings[$displayType . '_form_position'] ?? '';
$templateData['backgroundColor'] = $formSettings['backgroundColor'] ?? '';
$templateData['fontFamily'] = $formSettings['font_family'] ?? '';
// generate security token
$templateData['token'] = Security::generateToken();