A WordPress plugin that adds functionality to Gravity Forms to 7696 automatically empty trash entries on a schedule.
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.
- 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
- WordPress 5.0 or higher
- PHP 7.0 or higher
- Gravity Forms 2.5 or higher
- Upload the
gf-purge-trash
folder to the/wp-content/plugins/
directory - Run
composer install
in the plugin directory to install dependencies - Activate the plugin through the 'Plugins' menu in WordPress
- Navigate to a form's settings in Gravity Forms
- Find the "Trash Purge" section and configure your preferences
- Go to Forms > Edit Forms in your WordPress admin
- Select a form to edit
- Go to Settings > Trash Purge
- Check the "Automatically empty the trash?" option
- Select your preferred purge frequency from the dropdown
- Save the form settings
The plugin will now automatically empty the trash entries for this form according to the selected schedule.
- Initial release
This plugin is licensed under the GPL v2 or later.