=== Pojanviikari Capture Log for Contact Form 7 ===
Contributors: pojanviikari
Tags: contact form 7, cf7, entries, database, submissions
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Save every Contact Form 7 submission to your database. Browse, search, and export entries to CSV. Never lose a lead — even if the email fails.

== Description ==

Contact Form 7 sends your form submissions by email and stores nothing. If that email lands in spam, bounces, or is deleted, the lead is gone for good.

**Pojanviikari Capture Log for Contact Form 7** is the reliable data layer underneath CF7. It captures every submission to your own database — even when the email fails or the message is flagged as spam — and lets you browse, search, view, and export them.

= Why this plugin =

* **Never lose a submission.** Entries are written the moment a form is submitted, independently of email delivery. Each entry also keeps a raw-payload copy as a fallback.
* **Browse & search every entry** in a familiar WordPress admin table, filtered by form and status.
* **Export to CSV** (Excel-friendly, UTF-8) — select the entries you want and export them to a spreadsheet.
* **Privacy-ready.** Integrates with WordPress' built-in Export/Erase Personal Data tools, optional IP anonymization, and an optional retention auto-cleanup.
* **Lightweight & safe.** No bloat, no build tools; a storage error can never break your visitor's form submission.

== Frequently Asked Questions ==

= Does this work with the latest Contact Form 7? =
Yes. It hooks Contact Form 7's standard submission event and stores a copy of each submission.

= Will it slow down or break my forms? =
No. Capture is wrapped so that any storage error is logged and ignored — your visitor's submission always completes normally.

= Are file uploads stored? =
File names are recorded with the entry. Archiving the uploaded files themselves is planned for a future add-on.

= Can I export to Excel? =
Yes — entries export as a UTF-8 CSV with a BOM, so Excel opens accented characters (å, ä, ö) correctly.

= Does it store personal data? =
Entries can contain personal data. The plugin integrates with WordPress' Export/Erase Personal Data tools, supports IP anonymization, and can auto-delete old entries on a schedule you set.

== Screenshots ==

1. The entries list — filter by form and status, search, and bulk-export.
2. A single entry with all fields, metadata, and the collapsible raw payload.
3. Settings: retention, IP handling, and uninstall behavior.

== Changelog ==

= 1.0.0 =
* Initial release: reliable capture, entries admin (browse/search/filter), single-entry view, CSV export, privacy tools, optional retention.
