Title: ExpiryFlow – Temporary User Access &amp; Expiry Manager
Author: Ga Satrya
Published: <strong>2026 年 3 月 4 日</strong>
Last modified: 2026 年 3 月 11 日

---

搜索插件

![](https://ps.w.org/expiryflow/assets/icon-256x256.png?rev=3474305)

# ExpiryFlow – Temporary User Access & Expiry Manager

 作者：[Ga Satrya](https://profiles.wordpress.org/gasatrya/)

[下载](https://downloads.wordpress.org/plugin/expiryflow.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/expiryflow/#description)
 * [评价](https://cn.wordpress.org/plugins/expiryflow/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/expiryflow/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/expiryflow/#developers)

 [支持](https://wordpress.org/support/plugin/expiryflow/)

## 描述

Giving temporary access to contractors, guest writers, or support agents is a standard
part of managing a WordPress site. The problem? **Administrators often forget to
revoke that access.**

These “Zombie Accounts” are a major security risk and lead to database bloat over
time.

**ExpiryFlow** solves this by automating the offboarding process. You set an expiry
date at the moment of account creation, and the plugin handles the rest—from blocking
login to permanent deletion.

Built with a performance-first, object-oriented architecture for modern WordPress
sites.

For more information, visit the official plugin page: [ExpiryFlow](https://www.ctaflow.com/plugins/expiryflow/)

#### Who is this for?

 * **Agencies & Developers** giving temporary site access to contractors.
 * **Membership Sites** offering limited-time “Trial” or “Preview” accounts.
 * **News & Blogs** hiring guest contributors for specific projects.
 * **Security-Conscious Admins** who want to ensure access is always revoked on 
   time.

#### Core Features

 * **Expiry Date Management** — Easily set an expiration date for any non-administrator
   user directly from the user profile or registration screen.
 * **Manual Status Control** — Revoke access immediately with a single click using
   the “Account Status” toggle, overriding the automated expiry date.
 * **Real-Time Enforcement** — Expired users are blocked immediately.
    Even if they
   are already logged in, the system re-validates their status hourly.
 * **Auto-Deletion System** — Choose to have expired users automatically removed
   from your database after a configurable grace period.
 * **Content Preservation** — When a user is auto-deleted, all their posts and comments
   are safely reassigned to a site administrator.
 * **Admin Immunity** — Site administrators are protected from accidental expiration
   to ensure you never lose access to your own site.
 * **Clean Admin Interface** — Adds “Status” and “Expires” columns to the Users 
   list with color-coded badges for at-a-glance management.
 * **Developer Friendly** — Namespaced, class-based architecture following PHP 8
   standards and WordPress best practices.

#### Privacy First

This plugin is built with data minimization in mind. It helps you comply with GDPR
by ensuring personal data (user accounts) is not kept longer than necessary. No 
external tracking, no “Powered by” links, and no remote data collection.

#### Future Roadmap

 * **Email Notifications** — Automated warnings sent to users before their access
   expires.
 * **Bulk Actions** — Set or clear expiry dates for multiple users at once from 
   the Users list.
 * **Customizable Settings** — Adjust the grace period and auto-deletion batch sizes.

### More Plugins

 * **[ButtonFlow](https://www.ctaflow.com/plugins/buttonflow/)** — The easiest way
   to create high-converting, beautiful call-to-action buttons in WordPress.

## 屏幕截图

[⌊Add new user form with the Account Expiry Settings.⌉⌊Add new user form with the
Account Expiry Settings.⌉[

Add new user form with the Account Expiry Settings.

[⌊User profile with the new Account Expiry Settings.⌉⌊User profile with the new 
Account Expiry Settings.⌉[

User profile with the new Account Expiry Settings.

[⌊The Users list table featuring color-coded expiry status columns.⌉⌊The Users list
table featuring color-coded expiry status columns.⌉[

The Users list table featuring color-coded expiry status columns.

## 安装

 1. Upload the `expiryflow` folder to the `/wp-content/plugins/` directory, or install
    via **Plugins  Add New** in your WordPress dashboard.
 2. Activate the plugin through the **Plugins** menu.
 3. Go to **Users  Add New** or edit an existing user.
 4. Look for the **Account Expiry Settings** section at the bottom of the form.
 5. Set an expiry date and (optionally) enable auto-deletion.

## 常见问题

### Can I expire an Administrator account?

No. For security reasons, Administrator accounts are intentionally exempt from all
expiration and deletion logic. This prevents “locking yourself out” of your own 
site.

### What happens when a user expires?

As soon as the expiry date passes, the user is blocked from logging in. If they 
have an active session, they will be logged out within one hour (due to the forced
1-hour cookie expiration for temporary users).

### How does the grace period work?

If “Auto-delete” is enabled, the plugin waits for the configured number of days (
default 2) after the account has expired before deleting it. This gives you a window
to extend their access if needed. You can adjust this in Users > ExpiryFlow.

### Does it support timezones?

Yes. The plugin uses your site’s global timezone setting (set in Settings > General)
to calculate exactly when “midnight” occurs for expiry.

### Will it slow down my site?

No. The plugin is lightweight, uses no external dependencies, and its heaviest task(
auto-deletion) is throttled to run only once per hour via WP-Cron in small batches.

## 评价

此插件暂无评价。

## 贡献者及开发者

「ExpiryFlow – Temporary User Access & Expiry Manager」是开源软件。 以下人员对此
插件做出了贡献。

贡献者

 *   [ Ga Satrya ](https://profiles.wordpress.org/gasatrya/)

[帮助将「ExpiryFlow – Temporary User Access & Expiry Manager」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/expiryflow)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/expiryflow/)，查看[SVN仓库](https://plugins.svn.wordpress.org/expiryflow/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/expiryflow/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/expiryflow/)。

## 更新日志

#### 1.0.2

 * Branded: Renamed plugin to ExpiryFlow.
 * Standardized: Namespaces, constants, and prefixes updated to ‘ExpiryFlow’.
 * Updated: Documentation and asset handles to reflect the new brand.

#### 1.0.1

 * Fixed: Resolved WordPress core loading violation (wp-load.php).
 * Added: Configurable grace period setting for auto-deletion.
 * Improved: Reduced default grace period to 2 days (48 hours).
 * Fixed: Cron initialization timing and activation schedule reliability.

#### 1.0.0

 * Initial release.
 * Core expiry logic and login blocking.
 * Auto-deletion with grace period and content reassignment.
 * Admin UI enhancements (custom columns and sorting).
 * Modern namespaced architecture (PHP 8).

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**3 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.4 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/expiryflow/)
 * 标签
 * [auto-delete](https://cn.wordpress.org/plugins/tags/auto-delete/)[expiry](https://cn.wordpress.org/plugins/tags/expiry/)
   [membership](https://cn.wordpress.org/plugins/tags/membership/)[temporary access](https://cn.wordpress.org/plugins/tags/temporary-access/)
   [user management](https://cn.wordpress.org/plugins/tags/user-management/)
 *  [高级视图](https://cn.wordpress.org/plugins/expiryflow/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/expiryflow/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/expiryflow/reviews/)

## 贡献者

 *   [ Ga Satrya ](https://profiles.wordpress.org/gasatrya/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/expiryflow/)