- Messages
- 3
- Likes
- 0
- Points
- 1
I have 2 snippets:
Snippet 'A' that defines some useful php functions specific to my website
Snippet 'B' php code that makes use of those functions
I tried to use
[wbcr_php_snippet id="id_of_A"]
[wbcr_php_snippet id="id_of_B"]
But it didn't work (it broke my page). If I just merge 'A' into 'B' so there is just one snippet, it works correctly
Is there any reason why this does not work? Is there a way to 'include' one snippet into another?
Thanks
Snippet 'A' that defines some useful php functions specific to my website
Snippet 'B' php code that makes use of those functions
I tried to use
[wbcr_php_snippet id="id_of_A"]
[wbcr_php_snippet id="id_of_B"]
But it didn't work (it broke my page). If I just merge 'A' into 'B' so there is just one snippet, it works correctly
Is there any reason why this does not work? Is there a way to 'include' one snippet into another?
Thanks