=== W2MEDIA – n8n Webhook on Publish/Update (+ACF) ===
Contributors: w2media
Tags: n8n, webhook, automation, publish post, acf
Requires at least: 5.5
Tested up to: 6.8
Stable tag: 1.1.3
License: GPLv2 or later

Triggers n8n on post/page (or CPT) publish & update and includes all ACF fields (if ACF is active). 

== Description ==
- Sends a JSON payload to your n8n Webhook whenever a post/page (or selected CPTs) is published or updated.
- Includes `acf` object with `get_fields($post_id)` if ACF is active (toggle in settings).
- Optional `X-Webhook-Signature` (HMAC-SHA256).
- Manual test ping.
- Settings page: **Settings → n8n Webhook**.

== Installation ==
1. Upload the ZIP via *Plugins → Add New → Upload Plugin*.
2. Activate the plugin.
3. Configure under *Settings → n8n Webhook*.

== Changelog ==
= 1.1.3 =
* plugin got an debounce: Prevent double-firing within 2 seconds
= 1.1.2 =
* some clean code
= 1.1.1 =
* plugin available for 6.8.x
= 1.1.1 =
* adjust code for clean code
= 1.1.0 =
* NEW: Optional inclusion of all ACF fields in `acf` key of the payload; serialization helper for WP objects.
= 1.0.0 =
* Initial release.
