Action: Update post

Update a post. You have all functionalities available from wp_update_post
On this page you will find further information about the Update post action and how to use it via WP Webhooks, as well as via other external services such as Integromat, Pabbly, Integrately, or Zapier.
The Update post action is part of our WordPress integration.

Webhook setup guide

This section aims to help you getting started with the Update post action.
Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

Arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Update post action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
post_id *

(int) The post id itself. This field is mandatory

post_author

(mixed) The ID or the email of the user who added the post. Default is the current user ID.

post_date

(string) The date of the post. Default is the current time.

post_date_gmt

(string) The date of the post in the GMT timezone. Default is the value of $post_date.

post_content

(string) The post content. Default empty.

post_content_filtered

(string) The filtered post content. Default empty.

post_title

(string) The post title. Default empty.

post_excerpt

(string) The post excerpt. Default empty.

post_status

(string) The post status. Default 'draft'.

post_type

(string) The post type. Default 'post'.

comment_status

(string) Whether the post can accept comments. Accepts 'open' or 'closed'. Default is the value of 'default_comment_status' option.

ping_status

(string) Whether the post can accept pings. Accepts 'open' or 'closed'. Default is the value of 'default_ping_status' option.

post_password

(string) The password to access the post. Default empty.

post_name

(string) The post name. Default is the sanitized post title when creating a new post.

to_ping

(string) Space or carriage return-separated list of URLs to ping. Default empty.

pinged

(string) Space or carriage return-separated list of URLs that have been pinged. Default empty.

post_modified

(string) The date when the post was last modified. Default is the current time.

post_modified_gmt

(string) The date when the post was last modified in the GMT timezone. Default is the current time.

post_parent

(int) Set this for the post it belongs to, if any. Default 0.

menu_order

(int) The order the post should be displayed in. Default 0.

post_mime_type

(string) The mime type of the post. Default empty.

guid

(string) Global Unique ID for referencing the post. Default empty.

post_category

(string) A comma separated list of category IDs. Defaults to value of the 'default_category' option. Example: cat_1,cat_2,cat_3. Please note that WordPress just accepts categories of the type "category" here.

tags_input

(string) A comma separated list of tag names, slugs, or IDs. Default empty. Please note that WordPress just accepts tags of the type "post_tag" here.

tax_input

(string) A simple or JSON formatted string containing existing taxonomy terms. Default empty.

meta_input

DEPRECATED! Please use manage_meta_data instead.

manage_meta_data

Manage your post-related meta data.

wp_error

Whether to return a WP_Error on failure. Posible values: "yes" or "no". Default value: "no".

create_if_none

Wether you want to create the post if it does not exists or not. Set it to "yes" or "no" Default is "no".

do_action

Advanced: Register a custom action after the plugin fires this webhook.

Connection examples

Get inspired on how to use the WordPress action. Down below you will find various examples with our other integrations.
When a customer was updated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a post via The WordPress Logo for our integration WordPress.
When a coupon was restored via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When a booking was added via The Amelia Logo for our WP Webhooks integration Amelia, update a post via The WordPress Logo for our integration WordPress.
When an affiliate status was changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, update a post via The WordPress Logo for our integration WordPress.
When a customer was created via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When a post was updated via The WordPress Logo for our integration WordPress, update a post via The WordPress Logo for our integration WordPress.
When a comment was deleted via The WordPress Logo for our integration WordPress, update a post via The WordPress Logo for our integration WordPress.
When a form was submitted via The Forminator Logo for our WP Webhooks integration Forminator, update a post via The WordPress Logo for our integration WordPress.
When an order was deleted via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When a WordPress hook was fired via The WordPress Logo for our integration WordPress, update a post via The WordPress Logo for our integration WordPress.
When a coupon was created via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When a user has logged in via The WordPress Logo for our integration WordPress, update a post via The WordPress Logo for our integration WordPress.
When a file was downloaded via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a post via The WordPress Logo for our integration WordPress.
When a product was updated via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When an order was restored via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When a post was trashed via The WordPress Logo for our integration WordPress, update a post via The WordPress Logo for our integration WordPress.
When a product was restored via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When a form was submitted via The Ninja Forms Logo for our WP Webhooks integration Ninja Forms, update a post via The WordPress Logo for our integration WordPress.
When a product was deleted via The Woocommerce Logo for our integration Woocommerce, update a post via The WordPress Logo for our integration WordPress.
When a custom link was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, update a post via The WordPress Logo for our integration WordPress.
When a license was activated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a post via The WordPress Logo for our integration WordPress.

More available endpoints

Down below you will find a list of all available triggers and actions for the WordPress integration.
If you want to learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.