2019-02-08, 00:48:18
Hi
Wanted to grab the username cookie just before the user logs out of GS.
I'm currently using
to obtain the user name when the user logs in. I have been looking through the docs for a hook to allow me to grab the user name when they log out. I thought that the following might help but it's a no go probably because the user data is deleted before I can grab it.
Any ideas would be good, thanks
Wanted to grab the username cookie just before the user logs out of GS.
I'm currently using
Code:
get_cookie('GS_ADMIN_USERNAME')
Code:
logout - Fired when a user logs out
Any ideas would be good, thanks