8000 GitHub - ReasonFoundation/gf-purge-trash: Add an option to automatically purge trash entries on a schedule via a per-form setting.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ReasonFoundation/gf-purge-trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravity Forms Trash Purge

A WordPress plugin that adds functionality to Gravity Forms to 7696 automatically empty trash entries on a schedule.

Description

Gravity Forms Trash Purge is an addon for Gravity Forms that allows you to automatically empty the trash entries for your forms on a schedule. This helps keep your database clean and reduces storage usage.

The plugin adds a new section to the form settings where you can enable automatic trash purging and select a frequency for the purge operation.

Features

  • Adds a "Trash Purge" section to Gravity Forms form settings
  • Provides a checkbox to enable automatic trash purging
  • Offers 5 frequency options: Daily, Weekly, Monthly, Quarterly, and Yearly
  • Uses Action Scheduler for reliable background processing
  • Logs purge operations for tracking

Requirements

  • WordPress 5.0 or higher
  • PHP 7.0 or higher
  • Gravity Forms 2.5 or higher

Installation

  1. Upload the gf-purge-trash folder to the /wp-content/plugins/ directory
  2. Run composer install in the plugin directory to install dependencies
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Navigate to a form's settings in Gravity Forms
  5. Find the "Trash Purge" section and configure your preferences

Usage

  1. Go to Forms > Edit Forms in your WordPress admin
  2. Select a form to edit
  3. Go to Settings > Trash Purge
  4. Check the "Automatically empty the trash?" option
  5. Select your preferred purge frequency from the dropdown
  6. Save the form settings

The plugin will now automatically empty the trash entries for this form according to the selected schedule.

Changelog

1.0.0

  • Initial release

License

This plugin is licensed under the GPL v2 or later.

About

Add an option to automatically purge trash entries on a schedule via a per-form setting.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0