=== Smart Decay Copilot by Content Refresher === Contributors: contentrefresher, tadamski Tags: seo, content, ai, content marketing, automation Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 8.0 Stable tag: 2.0.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html AI-powered plugin that detects your outdated WordPress posts and generates refreshed content drafts for your approval — before anything goes live. == Description == **Content Refresher** automatically identifies blog posts that have become stale and uses AI to generate updated drafts. You stay in full control: nothing is published without your explicit approval. = How it works = 1. **Scan** – The plugin checks your posts daily and selects those older than your configured threshold (e.g. 6 months). 2. **Refresh** – Each selected post is sent to the Content Refresher API, which uses real-time data and AI to generate a refreshed version. 3. **Verify** – The new draft appears in the plugin's Verification Queue. You review and approve (or reject) each one. 4. **Publish** – Only approved drafts are applied to your post. You are always in control. = Who is it for? = - **SaaS companies** with content-heavy blogs that need to stay current - **Digital agencies** managing multiple client WordPress sites - **In-house SEO & content teams** looking to automate content maintenance at scale = Key Features = * AI-generated content refresh drafts (powered by Google Gemini via the Content Refresher API) * Human-in-the-loop approval workflow — nothing goes live without your OK * Configurable post age threshold, daily limit, and cooldown period * Supports both Publish Date and Modified Date for staleness detection * Credit-based system — buy only what you need, credits never expire * Domain-limited licenses for security = External Services = This plugin connects to the following external services: **1. Content Refresher API** The plugin sends data to the Content Refresher API (https://cr-api.up.railway.app) to analyze and generate refreshed content drafts. Data sent and when: * Your WordPress site domain (sent on every settings page load to verify the license and sync credits) * Your license key (for authentication) * The post title, post content, and focus keyword of the post being refreshed (only when a content refresh is triggered — manually or via scheduled cron) This data is used solely to authenticate your license, track credit usage, and generate a refreshed content draft using Google Gemini AI. Post content is not stored permanently after the response is returned. - [Service URL](https://content-refresher.com/) - [Privacy Policy](https://content-refresher.com/privacy.html) - [Terms of Service](https://content-refresher.com/terms.html) **2. Google Gemini AI** (used server-side by the Content Refresher API) - [Service URL](https://ai.google.dev/) - [Privacy Policy](https://policies.google.com/privacy) **3. Lemon Squeezy** (payment processor for purchasing credits) When you click "Buy More Credits" inside the plugin, you are redirected to a Lemon Squeezy checkout page. No payment data is processed by this plugin directly — all payments are handled entirely by Lemon Squeezy. - [Service URL](https://www.lemonsqueezy.com/) - [Privacy Policy](https://www.lemonsqueezy.com/privacy) - [Terms of Service](https://www.lemonsqueezy.com/terms) By installing and activating this plugin you agree to the Content Refresher Terms of Service and Privacy Policy linked above. == Installation == 1. Upload the `content-refresher` folder to your `/wp-content/plugins/` directory, or install directly via the WordPress plugin screen. 2. Activate the plugin through the **Plugins** menu in WordPress. 3. Go to **Content Refresher → Settings** and enter your license key. 4. Configure your post age threshold and daily limit. 5. The plugin will begin scanning your posts automatically on the next scheduled cron run. == Frequently Asked Questions == = Do I need a license key? = Yes. A license key is required to connect to the Content Refresher API. You can purchase a plan at [content-refresher.com](https://content-refresher.com/). A free trial is included with every new account. = Does the plugin automatically update my posts? = No. Content is only updated after you manually approve it in the Verification Queue. Nothing is published without your explicit action. = What data is sent to the external service? = Only the post title, content, and focus keyword are sent — solely to generate the refreshed draft. See the "External Services" section above for full details. = Can I use this on multiple sites? = Yes, depending on your plan. Each license includes a domain limit. You can connect multiple domains to one license key within your plan's limits. = What happens if I run out of credits? = The plugin will stop processing posts until you top up your account. You can purchase additional token packs from within the plugin settings or from [content-refresher.com](https://content-refresher.com/). = Is my content stored on your servers? = No. Post content is sent to generate a draft and the result is returned immediately. We do not store your post content after the response is delivered. = Which WordPress versions are supported? = Requires WordPress 6.0 or higher and PHP 8.0 or higher. == Screenshots == 1. **Main Settings Panel** – Configure your license key, post age threshold, daily limits, and other options. 2. **Verification Queue** – View the list of old posts waiting for your review and approval. 3. **Detailed Comparison View** – Easily compare your original content with the AI-generated draft before publishing. 4. **Approved Changes History** – Keep track of successfully refreshed and published posts. 5. **Email Notifications** – Get alerted immediately when a new content draft is ready for your verification. == Changelog == = 2.0.2 = * Added: Email notifications via Resend API for token purchases and completed refresh jobs * Improved: Case-insensitive email matching for license lookup * Fixed: Token purchases now correctly assigned to existing licenses regardless of status = 2.0.1 = * Added: Multi-domain support per license * Added: Deep research integration via Tavily API (server-side) * Improved: Admin dashboard with domain management UI = 2.0.0 = * Major rewrite with new verification queue workflow * Added: Human-in-the-loop approval system * Added: Cron-based automatic post scanning * Added: Credit-based usage system = 1.0.0 = * Initial release == Upgrade Notice == = 2.0.2 = Recommended update. Adds email notifications for key events.