Home How to find first url user visited after logging in Wordpress
Reply: 0

How to find first url user visited after logging in Wordpress

user407
1#
user407 Published in April 21, 2018, 3:07 pm

So I've written this reporting function which should show the first URL the user has visited after logging in.

I'm getting the url like so: "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"

I'm using this with the wp_login hook and just saving it to the db.

Perhaps there's a hook that fires right after wp_login?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.302891 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO