=== Increase Rev Optimizer ===
Contributors: increaserev
Donate link: https://increaserev.com
Tags: ads, revenue, optimization, AI, script
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

== Description ==
Increase Rev Optimizer helps publisher partners boost their ad revenue through AI-driven optimization. The plugin fetches a remote JSON file containing JavaScript URLs and loads them into the `<head>` using proper WordPress script enqueuing.

This ensures seamless performance and automatic optimization without requiring manual code edits.

== External Services ==
This plugin connects to an external service provided by Increase Rev.

**Service:** https://increaserev.com  
**Purpose:** The plugin loads a JSON file that contains ad-optimization JavaScript URLs.  
**Data Sent:** No personal data is sent. Only a remote GET request is performed to retrieve the JSON file.  
**When:** On the front-end only, and no more than once every 30 minutes (cached).  
**Terms:** https://increaserev.com/terms  
**Privacy Policy:** https://increaserev.com/privacy

== Installation ==
1. Upload the `increase-rev-optimizer` folder to `/wp-content/plugins/`
2. Activate the plugin via "Plugins" in the dashboard
3. The plugin will automatically load JS URLs from the remote JSON file

== Frequently Asked Questions ==

= Does the plugin run in wp-admin? =
No. It runs only on the front-end.

= Can I change the JSON URL? =
No. It must remain unchanged for proper ad optimization.

= How often does it load the JSON file? =
Every 30 minutes, via WordPress transients.

== Changelog ==

= 2.1 =
* Updated to comply with WordPress Plugin Team standards
* Added proper external services documentation
* Converted script output to `wp_enqueue_script()`
* Improved sanitization and caching

= 2.0 =
* Improved caching and security
* Updated plugin description

= 1.0 =
* Initial release

== Upgrade Notice ==
Version 2.1 ensures full WordPress.org review compliance and replaces direct `<script>` output with proper enqueuing.

== Screenshots ==
1. Plugin settings page example
2. Example scripts loaded into `<head>`
