Create post action

This action lets you create a post via the WordPress integration. Use it to automate you daily work ans save time and resources.

How to create a post

This section aims to help you getting started on how to create a post via WordPress. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Create post" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Create 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_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. Format: 2018-12-31 11:11:11

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_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.

import_id

(integer) In case you want to give your post a specific post id, please define it here.

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

tags_input

(string) A comma separated list of tag names, slugs, or IDs. Default empty.

tax_input

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

meta_input

DEPRECATED! Please use manage_meta_data instead.

meta_update

Update (or add) meta keys/values.

manage_meta_data

In case you want to add more complex meta data, this field is for you. Check out some examples within our post meta blog post.

acf_meta_update

Update (or add) Advanced Custom Fields meta keys/values.

manage_acf_data

In case you want to add more complex Advanced Custom Fields data, this field is for you. Check out some examples within our post meta blog post.

wp_error

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

do_action

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

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Related blog posts

Make more out of the Create post action with our dedicated blog posts.

Connection examples

Get inspired on how to use the "Create post" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a membership was paused via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, create a post via The WordPress Logo for our integration WordPress.
When a subscription status has changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, create a post via The WordPress Logo for our integration WordPress.
When a product was created via The Woocommerce Logo for our integration WooCommerce, create a post via The WordPress Logo for our integration WordPress.
When a booking was set to pending via The Events Manager Logo for our WP Webhooks integration Events Manager, create a post via The WordPress Logo for our integration WordPress.
When a donation is pending via The GiveWP Logo for our WP Webhooks integration GiveWP, create a post via The WordPress Logo for our integration WordPress.
When an assignment was uploaded via The LearnDash Logo for our WP Webhooks integration LearnDash, create a post via The WordPress Logo for our integration WordPress.
When a Zapier webhook request was received via The Zapier Logo for our WP Webhooks integration Zapier, create a post via The WordPress Logo for our integration WordPress.
When a membership was cancelled via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, create a post via The WordPress Logo for our integration WordPress.
When a user password was recovered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a post via The WordPress Logo for our integration WordPress.
When a new referral was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, create a post via The WordPress Logo for our integration WordPress.
When a subscription was cancelled via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, create a post via The WordPress Logo for our integration WordPress.
When a coupon was deleted via The Woocommerce Logo for our integration WooCommerce, create a post via The WordPress Logo for our integration WordPress.
When a IFTTT webhook request was received via The IFTTT Logo for our WP Webhooks integration IFTTT, create a post via The WordPress Logo for our integration WordPress.
When a profile photo was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a post via The WordPress Logo for our integration WordPress.
When an ACF post field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, create a post via The WordPress Logo for our integration WordPress.
When a response was added to a ticket via The Fluent Support Logo for our WP Webhooks integration Fluent Support, create a post via The WordPress Logo for our integration WordPress.
When a lesson was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, create a post via The WordPress Logo for our integration WordPress.
When a user password was changed via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a post via The WordPress Logo for our integration WordPress.
When a tag was added to a contact via The Groundhogg Logo for our WP Webhooks integration Groundhogg, create a post via The WordPress Logo for our integration WordPress.
When a donation is processed via The GiveWP Logo for our WP Webhooks integration GiveWP, create a post via The WordPress Logo for our integration WordPress.
When a course was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, create a post via The WordPress Logo for our integration WordPress.

More available WordPress endpoints

Discover more of the available endpoints used for the WordPress integration.
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.