How to get the action argument of a wp-login.php request?

Posted by Bruno De Barros on Stack Overflow See other posts from Stack Overflow or by Bruno De Barros
Published on 2009-12-31T02:21:21Z Indexed on 2010/03/14 11:05 UTC
Read the original article Hit count: 195

Filed under:
|
|

I am trying to integrate my custom user system with Wordpress, and I have recently asked a question on how to redirect requests to wp-login.php to my own login/registration page, but as I was working on the pluggable functions, I realized that requests to wp-login.php can either be for login, registration, or log out.

This is set in the action argument that's made in the request. What I am trying to figure out is how to get this action argument, so I can redirect the request to my custom pages. Is there any way of doing this?

Thank you in advance.

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress