this works:
{% get_option 'payment_conditions' '' true %}
It calls a function with 3 parameters and it returns a string: "I am the conditions". Great.
What I want to do now is to put this in a IF statement. So to do this, I need the value into a variable. Something like:
{% with conditions = get_option 'payment_conditions' '' true %}
But it does not work. I also tried:
{% get_option 'payment_conditions' '' true as conditions %}
Is there a way that I can place the result into a variable?? Thanks
get_option
a template tag you defined? – Wahkuna