can i call custom php function in template (html)?
I have a function that formats a string in different way. I am calling that function in php files using below code
echo CustomFormatString('This is my string')
But I want to call this function from template (.html) files too, some thing like below:
<perch:custom function="CustomFormatString"><perch:content id="style_long_desc" /></perch:custom>
The function is written as an addon, and works on php pages (layout/.php and pages/.php)
do you think something like this is possible