Which twig functions work in MailWizz?

dlodola

New Member
Hello All,

I've been able to successfully use the following twig function in a template:

Code:
{% if A = ‘x’ %}
Sunny weather
{% elseif A = ‘y’ % }
Rainy weather
{% else %}
Nothing special
{% endif %}

But was not able to use:

Code:
{% random(['apple', 'orange', 'citrus']) %}

Which twig functions actually work in MailWizz? All, or a limited subset?

Thanks for your help,

Dan
 
P.S: also from the docs it seems you have to do:
Code:
{{ random(['apple', 'orange', 'citrus']) }}
not just
Code:
{% random(['apple', 'orange', 'citrus']) %}
 
Back
Top