Twig is a templating language for PHP, which is a boring way of saying that it’s a tool used to output variables inside HTML. You can use TWIG as the template engine for campaign templates inside Ariticmail too.

You can use twig syntax in your templates like this:

{% if FNAME == ‘John’ %}

You are john doe.

{% endif %}

More examples about TWIG uses can be found here.

in Campaign Management

Related Articles

Comments are closed.