=== Market Eaizy ===
Contributors: eaizy
Donate link: https://marketez.in
Tags: publishing, social, automation, scheduling, workflow
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automated multi-channel blog scheduling and social publishing connector for the Eaizy cloud platform.

== Description ==

Market Eaizy seamlessly connects your WordPress website with the Market Eaizy Cloud Platform (https://marketez.in). It enables automated, high-performance content scheduling, multi-channel social synchronization, and remote post publishing with complete security.

= Features =

* **Cloud Sync**: Receive scheduled post content and media directly from Eaizy platform workflows.
* **Multi-Plugin SEO Integration**: Automatically sets metadata for Yoast SEO, Rank Math, and All in One SEO (AIOSEO).
* **Deferred Media Processing**: Offloads heavy image sideloading to background shutdown hooks for fast REST response times (<1s).
* **Enterprise Security**: Enforces Bearer JWT verification, IP CIDR allowlisting, Nonce replay prevention, and encrypted credential storage.
* **WordPress Settings API Dashboard**: Clean status badges, workspace cards, and publishing audit logs inside WP Admin.

== External services ==

This plugin relies on external third-party services to authenticate your workspace, verify site health, and receive scheduled blog publishing content.

* **Market Eaizy Cloud Platform & API**
  - **Service URLs**: https://marketez.in, https://growth.marketez.in, and https://appv1.fieldseasy.com
  - **Purpose**: Authenticates WordPress site connections via 1-click OAuth, verifies site sync health, and receives scheduled posts and media for publication.
  - **Data Transmitted**: WordPress site URL, admin authorization token, published post IDs, and sync status logs.
  - **Terms of Service**: https://marketez.in/terms
  - **Privacy Policy**: https://marketez.in/privacy

== Installation ==

1. Upload the `market-eaizy` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **Market Eaizy** in the WP Admin sidebar.
4. Click **Connect to Marketing Web Site** to authorize your site workspace.

== Frequently Asked Questions ==

= Is a Market Eaizy account required? =
Yes. You need an active account on https://growth.marketez.in to generate workspace connection tokens and schedule multi-channel publications.

= How does the plugin handle images? =
Images are sideloaded into your WordPress Media Library using background shutdown hooks to ensure maximum performance.

= Does this plugin support custom post types? =
Yes. You can configure target post types and default publication statuses (draft or publish) under settings.

== Screenshots ==

1. Dashboard view showing connected workspace status and publishing audit log.
2. Settings panel for IP allowlisting, default author assignment, and security policies.

== Changelog ==

= 1.0.0 =
* Initial public release on WordPress.org Plugin Directory as Market Eaizy.
* WordPress Settings API integration.
* Multi-plugin SEO metadata compatibility.
* Localized text domain support (`market-eaizy`).

== Upgrade Notice ==

= 1.0.0 =
Initial release. No upgrade required.

== Developer Extensibility Hooks ==

= Actions =
* `market_eaizy_before_post_publish` - Triggered before post creation (`$post_data`).
* `market_eaizy_after_post_publish` - Triggered after post is saved (`$post_id`, `$post_data`).

= Filters =
* `market_eaizy_api_payload` - Filter incoming payload array before processing.
