
WP Logout Redirect
v2.0HasinHayder · 2019年7月12日 上架
A simple yet powerful plugin that redirects users to a custom URL after logout. Featuring a modern, accessible admin panel with dark mode support.
- 正在使用
- 400+
- 评分
- 5.0 / 5
- 累计下载
- 8,054
- 最近更新
- 2025年12月26日
3 条评价需要 WordPress 5.0+已测试到 6.9.12PHP 7.2+
贡献者
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';
});