=== Article Draft Helper ===
Tags: seo, schema, rest api, post meta, json-ld
Requires at least: 5.6
Requires PHP: 7.4
Stable tag: 1.3.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lets your article service set SEO fields, find its own drafts and avoid duplicate schema on the posts it writes.

== Description ==

Your article service sends articles to this WordPress site as drafts. Nothing goes live until you publish it. This small plugin lets those drafts arrive complete.

With the plugin active:

* Each article's SEO title, meta description and focus keyword land in Rank Math or Yoast SEO.
* The service finds the draft it already made for an article, so a second run updates that draft instead of creating another one.
* On posts the service created, the plugin removes the SEO plugin's own Article, Person, Organization, LocalBusiness and FAQPage schema, so each page carries one set of schema.
* On hosts that strip the Authorization header, the service can still sign in with its Application Password.

Without it, articles still arrive as drafts, but the SEO fields stay empty, the page can carry two sets of schema, and a rerun of an article can leave a second draft.

The plugin has no settings page, stores nothing in the database and makes no outbound requests.

== Installation ==

1. In wp-admin, go to Plugins > Add New > Upload Plugin and choose the zip file.
2. Click Install Now.
3. Click Activate.

There is nothing to set up. To confirm it works, click "Check again" on the setup page of your article service.

== Frequently Asked Questions ==

= Does it change posts I wrote myself? =

No. The schema filter only runs on posts the article service created. The meta keys are only readable and writable by users who can edit posts.
