=== Instant Index PH ===
Contributors: instant-index-ph
Tags: google indexing, indexing, seo, index, submit url
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Auto-submit your posts and pages to Google indexing the moment you publish or update them — with credits, plan and history inside WordPress.

== Description ==

Connect your Instant Index PH account once, and every post or page you publish is automatically submitted for fast Google indexing. See your credit balance, plan, and recent submissions right in your dashboard, and submit any page manually with one click.

**Features**

* Auto-submit on publish (on by default) and optionally on update
* Choose which content types are auto-indexed (Posts, Pages, custom types)
* Per-post "Submit to Index" button + "Don't auto-submit this post" toggle
* Live credit balance, plan and recent submission history
* Your API key is stored encrypted and shown masked — never exposed
* Safe by design: never submits drafts, private, or password-protected content; never blocks publishing; auto-pauses on staging/localhost

**You need** a paid Instant Index PH account and API key (Profile → API on your dashboard). 1 credit = 1 URL.

== External services ==

This plugin connects to **instantindexph.com** (its own service) to index your URLs.

* **What is sent:** your API key (for authentication) and the public URL of each post/page you publish, update, or submit manually. Your post content and drafts are never sent.
* **When:** on publish/update (if enabled), on manual submit, and when validating your API key or loading your account balance.
* A paid account is required. See the Terms of Service (https://instantindexph.com/terms) and Privacy Policy (https://instantindexph.com/privacy).

== Installation ==

1. Upload the `instant-index-ph` folder to `/wp-content/plugins/`, or install the zip via Plugins → Add New → Upload.
2. Activate the plugin.
3. Go to **URL Indexer** in the admin menu and paste your API key.
4. Publish a post — it's submitted automatically.

== Changelog ==

= 1.0.2 =
* Added a "Submit to Indexer" link in the Posts/Pages list (row actions), so you can index any published item straight from the list.

= 1.0.1 =
* Auto-submit now works on public sites labelled "staging"/"development" (only truly local hosts are skipped).

= 1.0.0 =
* Initial release: connect, auto-submit on publish/update, per-post submit + opt-out, credits & history dashboard.
