Hi @atotalpirate
call_user_func_array() is a function to execute a function by its name. So, you need to have the category, company and collections function. You can create the functions like this:
function category($args) {
echo "do anything you want with this function";
}
function company($args) {
echo "do anything you want with this function";
}
function collections($args) {
echo "do anything you want with this function";
}
I hope this makes sense.