I'm using Wolf CMS, but I want to make it easier to include snippets.
At the moment one has to write this to include a snippet:
<?php $this->includeSnippet('scripts'); ?>
In here 'scripts' is the name of the snippet.
What I'd like to do is write a little piece of code that interprets this:
###scripts### as <?php $this->includeSnippet('scripts'); ?>
Cause the line of code is always the same, only the snippet name changes.
Would that be possible or am I asking the impossible here?
Thanks in advance