Tagged Questions
2
votes
2answers
237 views
Run javascript code after wp_login hook?
after using the wp_login hook, is it possible to add a snippet of javascript code to the page seen immediately after the login in wordpress?
I want to use this top implement a notification system ...
6
votes
2answers
3k views
Is there a hook that runs after a user logs in?
I am writing a plugin that fetches some extended user info from a remote service and I need it to execute its function each time a user logs in.
Is there a hook that gets fired after login that I can ...
1
vote
1answer
162 views
How can I tell if I'm on a login page?
There are functions for is_home(), is_blog() is_single() etc...
What's the best way to tell if I'm on a page that is requesting that I login? I guess that would just be the wp-login.php page.
1
vote
1answer
582 views
How to modify the action attribute of the wp-login.php?action=register form?
I'm trying to create a reference registration system in Wordpress. The idea is that the user will click a link which will contain wp-login.php?action=register&ref=12345
I'm hooking into the ...