{% autoescape false %}

{{ text.__('Conditions', 'psn') }}

{% if pm.isPremium == false %}{{ text.__('This is a Premium feature.', 'psn')|replace({ '%s': pm.getConfig.plugin.premiumUrl }) }}{% endif %}

{{ text.__('Subject and text support conditions, loops, functions and placeholder filters. This makes it possible to create dynamic texts.', 'psn') }}

{{ text.__('This is an example if-condition to display the excerpt only if it is not empty', 'psn') }}:

{% if "[post_excerpt]" is not empty %}This is the excerpt: [post_excerpt]{% endif %}

{{ text.__('With placeholder filters and functions you can get the most unlikely values out of the placeholders attached to a post. This example retrieves the currency key out a multidimensional serialized PHP array', 'psn') }}:

{{ [post_custom_field-_edd_payment_meta]|unserialize|get_key("currency") }}

{{ text.__('Documentation', 'psn') }}

{{ text.__('To learn more about conditions, loops, functions and filters please check the documentation.', 'psn')|replace({'%s': 'http://docs.ifeelweb.de/post-status-notifier/conditional_templates.html'}) }}

{% endautoescape %}