I have reason to run a mysql query in the function login_ok() in __global hooks and I need to retrieve the $data['selectedID'] variable available in other table specific hooks.
Possibly a stupid question but any suggestions of a simple way to do this in __global hooks as the $data parameter is not available?