I want a similar solution like this one for my login form on the backend of my WordPress installation: Forgot Password URL Filter
What I want to do instead of returning a custom forgot password url, I want to return a custom register link (all of this is on the login form at /wp-login.php
). Basically I'm trying to white label WordPress completely, and I've got front end forms for creating and editing posts, registering, logging in, profile editing, and post management all in the front end. However, when someone attempts to login and that attempt is failed, they're redirected to /wp-login.php
.
Ideally I could throw an error on my site and have it redirect to my front-end login page (is there a filter for that?), but worse case-scenario, I've rebranded my backend form so wordpress doesn't look like an issue (aside from the url being http://www.site.com/wp-login.php
, but that's not a huge deal) What I want to know is if there's a filter so I can return a custom register link on the backend, and if possible even a custom login link back there too.
I've learned that there is a lostpassword_url filter, but as far as I know there isn't a register_url filter that I can use to change that.
Any help?
UPDATE
http://core.trac.wordpress.org/browser/tags/3.2.1/wp-login.php#L418
This is what I want to hook into with a filter to change.