![]() |
Calling function from template
I'm a noob so sorry, but here is my question.
I want to call a php function from a template. Basically in the php file lets say I have a function Code:
function test($testvariable) { Thanks |
You can't. Templates are HTML, not PHP.
Create a plugin with your PHP code. If needed asign the output to a variable that can be used in your templates. |
That makes sense, thank you.
|
All times are GMT. The time now is 07:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|