wedevs/new-post-webhook

Sends a webhook request when a new post is published

Installs: 86

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

Type:wordpress-plugin

pkg:composer/wedevs/new-post-webhook

dev-master 2022-08-05 09:43 UTC

This package is auto-updated.

Last update: 2025-10-05 16:08:32 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"
  }
}