Delete comment action

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

How to delete a comment

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

"Delete comment" 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 comment 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.
comment_id *

(int) The comment id of the comment you want to delete.

force_delete

(string) Wether you want to bypass the trash or not. You can set this value to "yes" or "no". Default "no"

do_action

Advanced: Register a custom action after this webhook is executed.

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 comment" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a booking was approved via The Events Manager Logo for our WP Webhooks integration Events Manager, delete a comment via The WordPress Logo for our integration WordPress.
When a course was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, delete a comment via The WordPress Logo for our integration WordPress.
When a post was trashed via The WordPress Logo for our integration WordPress, delete a comment via The WordPress Logo for our integration WordPress.
When a HTTP request was received via The Webhooks Logo for our WP Webhooks integration Webhooks, delete a comment via The WordPress Logo for our integration WordPress.
When a cover photo was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, delete a comment via The WordPress Logo for our integration WordPress.
When a booking was added via The Amelia Logo for our WP Webhooks integration Amelia, delete a comment via The WordPress Logo for our integration WordPress.
When a custom trigger was called via PHP via The WordPress Logo for our integration WordPress, delete a comment via The WordPress Logo for our integration WordPress.
When a paid membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, delete a comment via The WordPress Logo for our integration WordPress.
When a new subscription payment was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, delete a comment via The WordPress Logo for our integration WordPress.
When an appointment was rescheduled via The Amelia Logo for our WP Webhooks integration Amelia, delete a comment 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 comment via The WordPress Logo for our integration WordPress.
When a donation was preapproved via The GiveWP Logo for our WP Webhooks integration GiveWP, delete a comment via The WordPress Logo for our integration WordPress.
When a post was updated via The WordPress Logo for our integration WordPress, delete a comment via The WordPress Logo for our integration WordPress.
When a ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, delete a comment via The WordPress Logo for our integration WordPress.
When a coupon was updated via The Woocommerce Logo for our integration WooCommerce, delete a comment via The WordPress Logo for our integration WordPress.
When a course access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, delete a comment via The WordPress Logo for our integration WordPress.
When an import was processed via The WP All Import Logo for our WP Webhooks integration WP All Import, delete a comment via The WordPress Logo for our integration WordPress.
When a coupon was restored via The Woocommerce Logo for our integration WooCommerce, delete a comment via The WordPress Logo for our integration WordPress.
When a contact was removed from a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, delete a comment via The WordPress Logo for our integration WordPress.
When a quiz was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, delete a comment 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, delete a comment 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.