Quote:
Originally Posted by Lynne
Very difficult to say when you aren't telling us which hook location and which template. It could be the variable for the template is rendered after your plugin and so the variable isn't available at the time.
|
In case 2, if I actually put $test1 in the template it will actually display 333. So the 333 does actually get to the $test1 variable. For some reason though it will not work with it the same as in case 1.
It's as if this works:
$test1 = "333";
build_something($test1, 0, 0)
But this doesnt:
$another1 = "333";
$test1 = $another1;
build_something($test1, 0, 0)