Delete post action

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

How to delete a post

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

"Delete 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 Delete 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 *

The post id of your specified post. This field is required.

force_delete

(optional) Whether to bypass trash and force deletion (added in WordPress 2.9). Possible values: "yes" and "no". Default: "no". Please note that soft deletion just works for the "post" and "page" post type.

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 )

Connection examples

Get inspired on how to use the "Delete post" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a form was submitted via The WS Form Logo for our WP Webhooks integration WS Form, delete 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, delete a post via The WordPress Logo for our integration WordPress.
When a user enrolled into a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, delete a post via The WordPress Logo for our integration WordPress.
When a new customer was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, delete a post via The WordPress Logo for our integration WordPress.
When a topic reply was created via The bbPress Logo for our WP Webhooks integration bbPress, delete a post via The WordPress Logo for our integration WordPress.
When a donation was refunded via The GiveWP Logo for our WP Webhooks integration GiveWP, delete a post via The WordPress Logo for our integration WordPress.
When a form was submitted via The Divi Logo for our WP Webhooks integration Divi, delete a post via The WordPress Logo for our integration WordPress.
When broken links have been detected via The Broken Link Checker Logo for our WP Webhooks integration Broken Link Checker, delete a post via The WordPress Logo for our integration WordPress.
When a donation was revoked via The GiveWP Logo for our WP Webhooks integration GiveWP, delete a post via The WordPress Logo for our integration WordPress.
When a tag was added via The WP Fusion Logo for our WP Webhooks integration WP Fusion, delete a post via The WordPress Logo for our integration WordPress.
When a new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, delete a post via The WordPress Logo for our integration WordPress.
When a contact was added to a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, delete a post via The WordPress Logo for our integration WordPress.
When a custom button was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, delete a post via The WordPress Logo for our integration WordPress.
When a paid membership was activated via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, delete 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, delete a post via The WordPress Logo for our integration WordPress.
When a license status was updated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, delete a post via The WordPress Logo for our integration WordPress.
When a WordPress hook was fired via The WordPress Logo for our integration WordPress, delete a post via The WordPress Logo for our integration WordPress.
When a product was viewed via The Woocommerce Logo for our integration WooCommerce, delete a post via The WordPress Logo for our integration WordPress.
When an order was created via The Woocommerce Logo for our integration WooCommerce, delete a post via The WordPress Logo for our integration WordPress.
When a contact was added to a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, delete a post via The WordPress Logo for our integration WordPress.
When a product review has been approved via The Woocommerce Logo for our integration WooCommerce, delete 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.