Need help please for a correct "wp-redirect"
-
Hello dear developer,
I have installed your plugin (and I thank you for it) and it works.I would like to make a small change…
If i am right, WP takes a (newly or not) registered user to the edit profile page. And thanks to your plugin, the user is obliged to change its password at the first connexion…and that’s nice.
What I’d need is to redirect a ‘fully’ registered user (I mean, a user who has changed its first password) to the home page instead of the edit profile page.
I have na?vely tried to add
else {wp_redirect(home_url());exit}
in your custom redirect function but the redirection failed…Would you have an idea please?
Thank you in advance
Pierre
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need help please for a correct "wp-redirect"’ is closed to new replies.