Redirect hook
Quote from kepler on November 8, 2018, 7:30 pmHi
Great plugin, my congratulations. I do have one small doubt though: what hook can I use in order that the user, when he logs to my website from the forum link won’t go to his dashboard, but directly to the forum page?
PS – this info is a little urgent.
Kind regards
Kepler
Hi
Great plugin, my congratulations. I do have one small doubt though: what hook can I use in order that the user, when he logs to my website from the forum link won’t go to his dashboard, but directly to the forum page?
PS – this info is a little urgent.
Kind regards
Kepler
Quote from Asgaros on November 9, 2018, 5:48 amHello @kepler
Based on its current implementation the user should get redirect back automatically to the page from where he logged in. If this is not happening, it can be possible that some other plugins are modifying some redirect/login-behavior.
In this case you can only manually modifying the login-redirect via one of the filters. Please check out the following example:
https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect
Hello @kepler
Based on its current implementation the user should get redirect back automatically to the page from where he logged in. If this is not happening, it can be possible that some other plugins are modifying some redirect/login-behavior.
In this case you can only manually modifying the login-redirect via one of the filters. Please check out the following example:
https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect