How do you turn a piece of {{string}}
into a php code
, for instance,
{{secure_base_url}}
to
echo secure_base_url;
I see this kind of method is used a lot in Magento. I wonder how do you do it if you are writing your own programme. Do I need some kind of plugin to turn that kind of {{string}}s
to codes
?