Title: Entry Expiration for Gravity Forms
Author: Travis Lopes
Published: <strong>2014 年 10 月 21 日</strong>
Last modified: 2023 年 8 月 1 日

---

搜尋外掛

![](https://ps.w.org/gravity-forms-entry-expiration/assets/banner-772x250.png?rev
=2564691)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/gravity-forms-entry-expiration/assets/icon-256x256.png?rev=
2564691)

# Entry Expiration for Gravity Forms

 由 [Travis Lopes](https://profiles.wordpress.org/travislopes/) 開發

[下載](https://downloads.wordpress.org/plugin/gravity-forms-entry-expiration.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/gravity-forms-entry-expiration/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/gravity-forms-entry-expiration/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/gravity-forms-entry-expiration/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/gravity-forms-entry-expiration/#developers)

 [技術支援](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/)

## 外掛說明

> 
> #### 󠀁[Entry Automation for Gravity Forms](https://cosmicgiant.com/plugins/entry-automation/?utm_source=wordpress&utm_medium=readme&utm_campaign=readme)󠁿 makes entry deletion more powerful and allows you to export your entries too!
> 
> Entry Expiration started out as a simple tool to automatically remove your old
> form entries. But what if you need more control over when entries are deleted?
> Want to apply conditional logic to target specific entries? Or maybe delete specific
> field values rather than the whole entry? Need to generate an export file before
> getting rid of those entries?
> [Check out Entry Automation](https://cosmicgiant.com/plugins/entry-automation/?utm_source=wordpress&utm_medium=readme&utm_campaign=readme)
> today!

When integrating Gravity Forms with a third-party service, it’s often not necessary
to keep entries around after a short period of time as you already have the data
imported elsewhere.

Entry Expiration for Gravity Forms allows you to automatically delete Gravity Forms
entries older than a defined timeframe. After activating the plugin, set the oldest
age for an entry on the Entry Expiration Settings page. At midnight, the plugin 
will delete all entries on enabled forms that are older than the time you set.

## 安裝方式

#### Requirements

 * WordPress version 5.3.0 and later (tested at 5.8.0)
 * Gravity Forms 1.8.17 and later

#### Installation

 1. Unpack the download package.
 2. Upload all files to the `/wp-content/plugins/` directory, with folder
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Navigate to the Form Settings page for each form you want to have entries automatically
    expire and click the ‘Entry Expiration’ tab.
 5. Define how often you want entries to be deleted and the minimum age required for
    entries to be deleted.

## 使用者評論

![](https://secure.gravatar.com/avatar/091da50764d6ed65999718df56f4893754c5955f2d2138b64c36b3d31501692c?
s=60&d=retro&r=g)

### 󠀁[Great for DSGVO](https://wordpress.org/support/topic/great-for-dsgvo/)󠁿

 [Andrea](https://profiles.wordpress.org/aneises/) 2021 年 12 月 10 日

Just install, setup and go. Works!

![](https://secure.gravatar.com/avatar/ad15ac02c3691828b119ecfd36342e7d2d9a292da8de38ba9030fd30c224e514?
s=60&d=retro&r=g)

### 󠀁[Simple and Effective](https://wordpress.org/support/topic/simple-and-effective-918/)󠁿

 [10for2](https://profiles.wordpress.org/10for2/) 2018 年 10 月 17 日

This is a great plugin if you need to remove sensitive data from the database on
a regular basis. Easy to setup and use.

![](https://secure.gravatar.com/avatar/eae9b03fdf1750ad9ecddf610003712fb406bce09006a0c4596071960057ea0e?
s=60&d=retro&r=g)

### 󠀁[Great Plugin for GDPR compliance](https://wordpress.org/support/topic/great-plugin-for-gdpr-compliance/)󠁿

 [Ulrich](https://profiles.wordpress.org/grapplerulrich/) 2018 年 5 月 15 日

This is a great solution to automatically delete form entries after a specific amount
of time like a month. This was instrumental for our GDPR compliance of our contact
form.

![](https://secure.gravatar.com/avatar/db57daa72d96b4072a2bb2faa9ea70853b6c888ec96ef6fc69cb27a14c3a081f?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-397/)󠁿

 [caseycase](https://profiles.wordpress.org/caseycase/) 2016 年 9 月 3 日

Thank you Travis – easy to install and set up and just what the doctor ordered.

 [ 閱讀全部 3 則使用者評論 ](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Entry Expiration for Gravity Forms〉的開發相關工作。

參與者

 *   [ Travis Lopes ](https://profiles.wordpress.org/travislopes/)
 *   [ ForGravity ](https://profiles.wordpress.org/forgravity/)

[將〈Entry Expiration for Gravity Forms〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-entry-expiration)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/gravity-forms-entry-expiration/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/gravity-forms-entry-expiration/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/gravity-forms-entry-expiration/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/gravity-forms-entry-expiration/)。

## 變更記錄

#### Version 2.2.1 (2023-08-01)

 * Updated references to ForGravity.
 * Updated WordPress tested up to version.

#### Version 2.2 (2021-09-02)

 * Fixed entries not deleting on schedule when server and WordPress timezones do
   not match.

#### Version 2.1 (2020-08-07)

 * Added capabilities.
 * Added support for Gravity Forms 2.5.
 * Updated installation instructions.
 * Fixed fatal error during 2.0 upgrade process.
 * Fixed PHP notices.
 * Fixed search criteria not correctly preparing in certain scenarios.
 * Fixed search criteria not correctly preparing the search end date.

#### Version 2.0

 * Added additional logging
 * Added expiration time and recurrence at the form level.
 * Added filter for setting entry expiration time for each form
 * Adjusted entry older than date to not be relative to midnight
 * Changed plugin loading method.
 * Rewrote expiration procedure to be more efficient.

#### Version 1.2

 * Fixed update routine to not automatically enable forms for processing if running
   a fresh install
 * Changed expiration time setting to allow choosing between hours, days, weeks 
   and months

#### Version 1.1

 * Switched forms from being able to be excluded to having to include them for processing
 * Deletion cron now runs hourly instead of daily
 * Cron now only deletes 1000 entries at a time to prevent long execution times
 * Added filters for: payment status, number of entries to be processed at a time

#### Version 1.0

 * Initial release

## 中繼資料

 *  版本 **2.2.1**
 *  最後更新 **3 年前**
 *  啟用安裝數 **1,000+**
 *  WordPress 版本需求 ** 5.3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.3.0**
 *  PHP 版本需求 ** 5.3 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/gravity-forms-entry-expiration/)
 * 標籤
 * [entry](https://tw.wordpress.org/plugins/tags/entry/)[expiration](https://tw.wordpress.org/plugins/tags/expiration/)
   [gravity forms](https://tw.wordpress.org/plugins/tags/gravity-forms/)
 *  [進階檢視](https://tw.wordpress.org/plugins/gravity-forms-entry-expiration/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/reviews/)

## 參與者

 *   [ Travis Lopes ](https://profiles.wordpress.org/travislopes/)
 *   [ ForGravity ](https://profiles.wordpress.org/forgravity/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/gravity-forms-entry-expiration/)