Support » Fixing WordPress » Get the page name or ID from the full URI

  • Hey all,

    I’m trying to redirect after a front end user login, but only if the user is on a certain page. Using the login_redirect filter I can get the full URI of the page that I am being redirected to (the page that the user logged on from), but from that is there any way of getting the page name or ID so that I can return a different login redirect if needs be?

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get the page name or ID from the full URI’ is closed to new replies.