Pass square brackets as parameters
-
I am trying to pass a parameter to a snippet that contains a square bracket. e.g.
[wbcr_php_snippet id=”1815″ p1=”[stuff]” p2=”my stuff”]
when I do this, I get an error that says
[wbcr_php_snippet]: PHP snippets error (not passed the snippet ID)If I remove the square brackets from p1, then the snippet is called OK (but doesn’t work as I need the square brackets!) I have tried escaping, but it makes no difference.
Is there a way to make this work?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Pass square brackets as parameters’ is closed to new replies.