跳到内容

WP Logout Redirect

v2.0

HasinHayder · 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_url filter 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.

  1. Manual URL: Enter any custom URL in the input field.
  2. Page Selector: Choose an existing page from the dropdown to automatically fill the URL.
  3. Presets: Use the “Quick Presets” buttons for common destinations.
  4. 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';
});

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums