I used a functions into my page I created for WordPress, it's working, but the functions 're not working, doesn't showing any result. For example:
<?php
function tester()
{
global $pol;
$pol="ok all fine and working";
}
tester();
echo $pol;
?>
This function works perfectly if I use it outside WordPress, but problem is when I tried using it into the file I created, it won't work.
I don“t know what the difference I need to assure to work it in WordPress other than any other PHP file.