JavaScript Trigger on Login
-
Hey—
This is a simple question…but I don’t see the answer anywhere!
Is there a single JS event that is trigger (on the document or something) when login is successful?
Also, is any WordPress user info returned? Such as userID or something?
I’m thinking, I’d like to be able to do something like this:
$(document).on('lwaSuccess',function(obj){
console.log(obj.userID);
});
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JavaScript Trigger on Login’ is closed to new replies.