=== GrowthLife GrowOptin ===
Contributors: growthlife
Tags: newsletter, popup, email, subscribers, optin
Requires at least: 5.5
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight glassmorphism newsletter popup — collect subscribers, deliver lead-magnet files, and export to Excel. Free forever.

== Description ==

GrowOptin is a clean, fast newsletter popup for WordPress. Show a beautiful glassmorphism popup, collect subscribers, automatically email them a downloadable file (ZIP, PDF, CSV, and more), and export your list to Excel with one click.

**Free features**

* Unlimited subscribers, stored in your own database
* One-click Excel / CSV export
* Lead-magnet file delivery — subscriber gets your file by email on signup
* 5 toggleable form fields: Name, Email, Phone, Address, Country
* Spacing & effects design controls with a live preview
* Display rules — trigger on page load or scroll %, show once or weekly
* Targeting — UTM source, browser, country
* SMTP delivery with a test-email button
* Fully editable popup text, logo, and confirmation message

**GrowOptin Pro** adds color templates, typography, full analytics, festival scheduling, lead generation, 26 field types, email templates, and advanced email validation. Learn more at https://growthlife.in/growoptin-pro

== Installation ==

1. Upload the `growoptin` folder to `/wp-content/plugins/`, or install the ZIP via Plugins → Add New → Upload.
2. Activate the plugin.
3. Open **GrowOptin** in the admin menu and configure your popup.

== Third-Party Libraries & Source Code ==

This plugin loads no external/remote resources — everything is bundled and
served from your own site, so no visitor data is sent to third parties.

* **Chart.js v4.4.1** (MIT) — used for the admin dashboard chart.
  Bundled unminified at `assets/vendor/chartjs/chart.umd.js`.
  Source: https://github.com/chartjs/Chart.js — license: `assets/vendor/chartjs/LICENSE.md`
* **Poppins font** (SIL Open Font License 1.1) — bundled as WOFF2 in `assets/fonts/`.
  Source: https://github.com/fontsource/font-files/tree/main/fonts/google/poppins
  License: `assets/fonts/POPPINS-LICENSE.txt`

All plugin PHP, JavaScript and CSS is shipped in original, human-readable,
unminified form. There is no build step, bundler, or minifier.

== Changelog ==

= 1.0.2 =
* Further database query hardening for full Plugin Check compliance.

= 1.0.1 =
* Removed all external CDN requests — Chart.js and the Poppins font are now bundled locally (better privacy and no third-party requests).
* Added nonce verification to the public subscribe endpoint.
* Hardened output escaping, input sanitisation and database queries throughout.
* Added object caching for dashboard statistics and file lists.

= 1.0.0 =
* Initial release.
