Action: Trash comment

Trash a comment using webhooks.
On this page you will find further information about the Trash comment action and how to use it via WP Webhooks, as well as via other external services such as Integromat, Pabbly, Integrately, or Zapier.
The Trash comment action is part of our WordPress integration.

Webhook setup guide

This section aims to help you getting started with the Trash comment 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 Trash 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 trash.

do_action

Advanced: Register a custom action after the action was fired.

Connection examples

Get inspired on how to use the WordPress action. Down below you will find various examples with our other integrations.
When a coupon was restored via The Woocommerce Logo for our integration Woocommerce, trash a comment via The WordPress Logo for our integration WordPress.
When a shortcode was called via The WordPress Logo for our integration WordPress, trash a comment via The WordPress Logo for our integration WordPress.
When a customer was updated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, trash a comment via The WordPress Logo for our integration WordPress.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, trash a comment via The WordPress Logo for our integration WordPress.
When a contact was deleted via The FluentCRM Logo for our WP Webhooks integration FluentCRM, trash a comment 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, trash a comment via The WordPress Logo for our integration WordPress.
When an order was deleted via The Woocommerce Logo for our integration Woocommerce, trash 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, trash a comment via The WordPress Logo for our integration WordPress.
When an assignment was uploaded via The LearnDash Logo for our WP Webhooks integration LearnDash, trash a comment via The WordPress Logo for our integration WordPress.
When a new referral was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, trash a comment via The WordPress Logo for our integration WordPress.
When an order was restored via The Woocommerce Logo for our integration Woocommerce, trash a comment 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, trash a comment via The WordPress Logo for our integration WordPress.
When a contact was removed from a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, trash a comment via The WordPress Logo for our integration WordPress.
When a membership has expired via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, trash a comment via The WordPress Logo for our integration WordPress.
When a course access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, trash a comment via The WordPress Logo for our integration WordPress.
When an action was fired via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, trash a comment via The WordPress Logo for our integration WordPress.
When a customer was created via The Woocommerce Logo for our integration Woocommerce, trash a comment via The WordPress Logo for our integration WordPress.
When an order was updated via The Woocommerce Logo for our integration Woocommerce, trash a comment via The WordPress Logo for our integration WordPress.
When a customer was deleted via The Woocommerce Logo for our integration Woocommerce, trash a comment via The WordPress Logo for our integration WordPress.
When a booking status was updated via The Amelia Logo for our WP Webhooks integration Amelia, trash a comment 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, trash a comment 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.