=== GRT Consent Tool ===
Contributors: ridhwanahsann
Author: ridhwanahsann
Tags: gdpr, cookie consent, ccpa, eprivacy, compliance
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight, modern consent management for GDPR, CCPA, and ePrivacy. Includes customizable banners, smart script blocking, and consent logging.

== Description ==
Consent Guard provides a configurable consent banner, script blocking by category, and consent logging for audit readiness.

Features:
* Customizable banner copy, colors, and position.
* Script blocking with pattern rules and whitelists.
* Consent logging with export and retention controls.
* Integrations for WP Consent API and Google Consent Mode.

== Installation ==
1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the Plugins menu in WordPress.
3. Open **Consent Guard** in the admin menu to configure settings.

== Frequently Asked Questions ==
= Does this block scripts automatically? =
Yes. Add patterns or custom rules under Script Blocking.

= Where are consent logs stored? =
Logs are stored as a private post type and can be exported from the admin UI.

== Screenshots ==
1. Consent banner preview.
2. Admin dashboard and settings.

== Changelog ==
= 0.1.2 =
* Improved script blocking performance by caching consent preferences.
* Added strict type hinting for better code reliability.
* Enhanced sanitization and validation in admin settings.
* Updated internal versioning and documentation.

= 0.1.1 =
* Added "Re-consent on policy change" feature to re-prompt users when the policy version is updated.
* Improved cookie preference persistence across browser sessions.
* Fixed minor CSS issues in the admin dashboard.

= 0.1.0 =
* Initial release.

== Upgrade Notice ==
= 0.1.2 =
Performance improvements and code reliability updates.

= 0.1.1 =
Added "Re-consent on policy change" and minor improvements.

= 0.1.0 =
Initial release.
