wedevs / new-post-webhook
Sends a webhook request when a new post is published
Installs: 78
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Type:wordpress-plugin
This package is auto-updated.
Last update: 2024-12-05 14:30:46 UTC
README
Sends a webhook request when a new post is published.
Instructions
- Activate the plugin
- Navigate to Settings > Writing settings and add the webhook URL.
- It'll send the webhook to that URL when a new post is created.
Installing with composer
composer require wedevs/new-post-webhook
Request Format
The following format will be posted in the webhook.
{ "id": 823, "title": "Post Test", "url": "https://wp.test/post-test/", "content": "\n<p>Hello There</p>\n", "excerpt": "Hello There", "tags": [ "one", "two" ], "categories": [ "Uncategorized" ], "author": { "name": "admin", "url": "https://wp.test/author/admin/" }, "date": { "raw": "2022-08-03 17:06:22", "formatted": "August 3, 2022" } }