Get Referring Post Permalink
We have some protected pages on our site. If a user is not logged in, it redirects to the login page. How to we find the permalink for the link that was clicked prior to the redirect?
get_permalink() shows the permalink for the login page, not the intended post. Thanks for the help.
- The topic ‘Get Referring Post Permalink’ is closed to new replies.