This question already has an answer here:
I have 2 files:
file1 - variables.php
$variable = something;
and file2 - functions.php
function somefunction() {
do_something_with $variable;
}
How can I use variable, defined in one file, in function defined in second file?
</div>