=== Never Expire Submissions for Gravity Forms ===
Contributors: scriptvoyager
Tags: gravity forms, submissions, data protection, form management, incomplete
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Prevents automatic deletion of incomplete Gravity Forms submissions by extending the expiration time to 99,999 days.

== Description ==

**The Problem:**
By default, Gravity Forms automatically deletes incomplete form submissions after 30 days. This can lead to critical data loss, especially for important application processes, extended registrations, or complex multi-page forms.

**The Solution:**
This plugin prevents automatic deletion by extending the expiration time to 99,999 days (approximately 274 years), effectively preserving all incomplete submissions indefinitely.

**Key Features:**
* **Automatic Protection:** Works immediately upon activation with no configuration required
* **High Priority:** Operates with maximum priority to override other settings  
* **Data Preservation:** Maintains all incomplete form submissions indefinitely
* **Background Operation:** Functions transparently without affecting form performance
* **Reliable:** Uses multiple failsafe mechanisms to ensure consistent protection
* **Compatible:** Works with all Gravity Forms versions and WordPress installations

**How It Works:**
The plugin intercepts Gravity Forms' expiration mechanism and changes the deletion timeframe from 30 days to 99,999 days. This happens automatically and transparently, requiring no user intervention or configuration.

**Installation:**
1. Upload and activate the plugin
2. Protection begins immediately
3. Optional: View status under "Settings → GF Never Expire"

== Installation ==

**Automatic Installation:**
1. Go to "Plugins → Add New" in your WordPress admin
2. Search for "Never Expire Submissions for Gravity Forms"
3. Click "Install Now"
4. Click "Activate Plugin"
5. Protection is now active

**Manual Installation:**
1. Upload the plugin files to `/wp-content/plugins/never-expire-submissions-for-gravity-forms/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Protection begins immediately - no configuration required
4. Optional: View status under "Settings → GF Never Expire"

**After Installation:**
* No configuration required - the plugin works automatically
* Access status information under "Settings → GF Never Expire"
* All incomplete submissions are now preserved indefinitely

== Frequently Asked Questions ==

= Does this plugin require configuration? =
No. The plugin works automatically upon activation and requires no setup or configuration.

= Will this affect my website's performance? =
No. The plugin operates with minimal resource usage and has no impact on form performance or website speed.

= What happens if I deactivate the plugin? =
Gravity Forms will revert to its default 30-day deletion schedule. Existing incomplete submissions will remain but may be subject to future deletion.

= Does this work with all Gravity Forms versions? =
Yes. The plugin is compatible with all modern Gravity Forms versions and is regularly tested for compatibility.

= Can I use this with other form management plugins? =
Yes. This plugin specifically targets Gravity Forms' expiration mechanism and will not interfere with other plugins.

= How much storage space will this use? =
Storage requirements depend on your form usage. Most incomplete submissions are small data files that require minimal storage space.

= Is there a way to manually delete old incomplete submissions? =
Yes. You can manage incomplete submissions through the standard Gravity Forms entries interface if needed.

= Will this work on multisite installations? =
Yes. The plugin is fully compatible with WordPress multisite networks.

== Screenshots ==



== Technical Details ==

**Architecture:**
* Modern object-oriented design with dependency injection
* Interface-based services for maximum reliability
* Exception handling for robust error management
* Type hints and strict coding standards

**WordPress Integration:**
* Uses official WordPress hooks and filters
* Follows WordPress coding standards
* Implements proper capability checking
* Includes internationalization support

**Performance:**
* Minimal memory footprint
* Optimized database operations
* Smart caching mechanisms
* No impact on frontend performance

**Security:**
* Input sanitization and output escaping
* Proper capability verification
* Nonce verification for admin actions
* Follows WordPress security best practices

**Compatibility:**
* **WordPress:** 6.0+ (tested up to 6.8)
* **Gravity Forms:** All modern versions
* **PHP:** 7.4+ (recommended: 8.0+)
* **Hosting:** All standard hosting environments

== Support ==

**Documentation:**
All functionality is automatic and requires no configuration. For additional information, visit the plugin settings page under "Settings → GF Never Expire" in your WordPress admin.

**Troubleshooting:**
1. Ensure Gravity Forms is installed and activated
2. Verify the plugin is active in your WordPress admin
3. Check the status page for any error messages

**Common Issues:**
* **"Requires Gravity Forms" error:** Install and activate Gravity Forms
* **Plugin not working:** Ensure both Gravity Forms and this plugin are activated
* **Permission errors:** Verify you have administrator access

== Changelog ==

== Upgrade Notice ==
