WP Logout Redirect
·
A simple yet powerful plugin that redirects users to a custom URL after logout. Featuring a modern, accessible admin panel with dark mode support.
評価
5/5
バージョン
2.0
有効インストール数
400
最終更新日時
Dec 26, 2025
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.
Features
- Modern Admin Panel – A refined, editorial-style interface for easy configuration.
- Dark Mode Support – Automatically adapts to your system’s color scheme.
- Accessible Design – Fully optimized for screen readers and keyboard navigation.
- Quick Presets – One-click settings for Homepage or Login Page redirects.
- Page Selector – Easily pick any of your existing pages from a dropdown.
- Developer Friendly – Programmatically override settings using the
wplr_home_urlfilter hook. - Lightweight & Secure – Built with performance and WordPress security standards in mind.
Usage
After activation, go to Settings → Logout Redirect in your WordPress admin panel.
- Manual URL: Enter any custom URL in the input field.
- Page Selector: Choose an existing page from the dropdown to automatically fill the URL.
- Presets: Use the “Quick Presets” buttons for common destinations.
- Save: Click “Save Configuration” to apply changes.
Developer Hook
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';
});
