Simple solution- use GLOBAL variables..
$GLOBALS['my_categories_list'] = array(1,2,3,4);
then you can everywhere access $GLOBALS['my_categories_list']
.
Simple solution- use GLOBAL variables..
$GLOBALS['my_categories_list'] = array(1,2,3,4);
then you can everywhere access $GLOBALS['my_categories_list']
.