by HasinHayder on WordPress.org
A simple yet powerful plugin that redirects users to a custom URL after logout. Featuring a modern, accessible admin panel with dark mode support.
WP Logout Redirect allows you to control where users are redirected after logging out of your WordPress site. By default, WordPress redirects users to the login page, but this plugin gives you full control over the logout experience.
Version 2.1 brings a complete UI overhaul, offering a refined, accessible, and developer-friendly experience.
wplr_home_url filter hook.After activation, go to Settings → Logout Redirect in your WordPress admin panel.
Developers can programmatically override the redirect URL using the wplr_home_url filter hook. This takes precedence over admin settings.
add_filter('wplr_home_url', function($url) {
return 'https://example.com/custom-destination';
});