Inherit post_status response on post_create webhook
-
I am using WP Webhook and set the webhook for post_create in Send Data,when i publish a post webhook give Inherit Response in Post_Status and post_permalink is also wrong.I also check it with webhook.site.
I got this response
{ "post_id": 1340, "post": { "ID": 1340, "post_author": "1", "post_date": "2021-01-23 08:25:04", "post_date_gmt": "2021-01-23 08:25:04", "post_content": "aboutlatest", "post_title": "Latest", "post_excerpt": "", <strong> "post_status": "inherit",</strong><em> "comment_status": "closed", "ping_status": "closed", "post_password": "", "post_name": "1339-revision-v1", "to_ping": "", "pinged": "", "post_modified": "2021-01-23 08:25:04", "post_modified_gmt": "2021-01-23 08:25:04", "post_content_filtered": "", <em><strong>"post_parent": 1339,</strong></em> "guid": "https://pay2vault.com/wp3/2021/01/23/1339-revision-v1/", "menu_order": 0, "post_type": "revision", "post_mime_type": "", "comment_count": "0", "filter": "raw" }, "post_meta": [], "post_thumbnail": false, <strong><em>"post_permalink": "https://pay2vault.com/wp3/2021/01/23/1339-revision-v1/",</em></strong></em> "taxonomies": [] }
post_status should be publish
post_parent should be 0
post_permalink should be https://pay2vault.com/wp3/2021/01/23/latest/
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Inherit post_status response on post_create webhook’ is closed to new replies.