I have a page called main.php which includes a file titled functions.php. The main.php calls a function split-array() from the included functions.php file.
The array gets passed into split-array(). Now I want to pass THAT array into another function called do_list() in the SAME functions.php file, which then should show the result in the main.php.
How do I achieve that?