=== PixOptiform ===
Contributors: pixoptimo
Tags: popup, exit-intent, lead-capture, feedback, newsletter
Requires at least: 6.1
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.7.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Popup form plugin for collecting lead submissions and exporting them as CSV from WordPress admin.

== Description ==

PixOptiform provides popup templates for collecting lead submissions in WordPress.

Collected submission fields can include email, message, IP address, user agent, template type, and submission timestamp. Data is stored in your WordPress database and can be exported as CSV in the admin dashboard.

== Installation ==

1. Upload the `pixoptiform` folder to `/wp-content/plugins/`, or install the plugin through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **PixOptiform** in wp-admin to review submissions.
4. Go to **PixOptiform → Settings** to configure popup behavior and template options.
5. Save settings and test submission flow on the frontend.

== Frequently Asked Questions ==

= How to use the popup form? =
Activate the plugin, configure it in **PixOptiform → Settings**, then visit your site frontend where the configured popup trigger displays the form.

= Where is data stored? =
Submission data is stored in your WordPress database table: `{prefix}_pixoptiform_submissions`.

= How to export submissions? =
In wp-admin, open **PixOptiform** and click **Export as CSV** to download submissions.

== Privacy ==

STORED DATA:
- Email address
- Message/content entered by the visitor
- Template metadata
- IP address
- User agent

PROCESSED BUT NOT STORED:
- Name (newsletter template)
- Rating (feedback template)

EMAIL USAGE:
- Admin notifications are sent with submission details using WordPress wp_mail() to the site administrator or configured recipient.
- Optional user emails are sent for template-based flows (such as discount or newsletter confirmations).
- No data is transmitted to external third-party services beyond the site’s configured email delivery system.

Access control:
- Only users with the 'manage_options' capability (administrators) can access plugin settings, submissions, and export features.

Retention and deletion:
- Data is stored until manually deleted by the administrator.
- Currently, submitted data can be removed manually by the site administrator from the database. Future versions may include in-plugin deletion tools.

== Changelog ==

= 0.7.9 =
* Refactored template setting registration to use explicit register_setting() sanitization definitions for WordPress.org review compliance.

= 0.7.8 =
* Removed hidden files from release package.
* Updated Tested up to compatibility to WordPress 7.0.

= 0.7.7 =
* Refactored register_setting() sanitization callbacks to use explicit field-aware validation for WordPress.org review compliance.

= 0.7.6 =
* Improved register_setting() sanitization callbacks with field-aware validation for WordPress.org compliance.

= 0.7.4 =
* Fixed readme compliance sections and metadata.
* Added nonce protection for admin CSV export action.
* Aligned plugin version references to 0.7.4.

= 0.7.5 =
* Fixed WordPress.org review issues.
* Updated plugin admin menu placement.
* Resolved Plugin Check compatibility and escaping issues.
* Improved compatibility metadata and packaging cleanup.

== License ==

GPLv2 or later
