• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

xenforo_template_compiler_tag

  1. allewreK

    Compile template via PHP

    Hello, I have the following PHP variable : $string = '<xen:h1>Demo</xen:h1>' ; I would like to compile it using XenForo's core PHP functions, so I get the following result : "<h1>Demo</h1>". It's exactly like XenForo's templates would do, but without using templates ! Any ideas ?