Redirect on Logout | Peter's Login Redirect | Forum
Back to the login redirect plugin page
11:54 am
First off thanks for the great plugin, all seems to be working flawlessly, but for the life of me, I can't find an option to redirect the user upon logout.
I use 3 custom user roles, each of them goes to their own page once logged in (this works perfectly), then they can surf the entire site and when they wish to sign out, or when they get signed out (due to inactivity), I do not want them to go to the default WP login and instead go to a customized login page.
But only these groups and noone else. How would I go about doing this ? Surely there is a way, but I can not seem to find it.
Using: WP 3.5.1 / Latest version of your plugin.
I haven't yet added the same options for logouts as currently exists for logins. However, you could write your own logic in PHP in an extension to the plugin or in your theme's functions.php file by using the "rul_before_fallback_logout" hook as described here: