Trash comment action

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

How to trash a comment

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

"Trash 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 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.

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 "Trash comment" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a course was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, trash a comment via The WordPress Logo for our integration WordPress.
When a comment was updated via The WordPress Logo for our integration WordPress, trash a comment via The WordPress Logo for our integration WordPress.
When a payments status was changed 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 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 user was created via The WordPress Logo for our integration WordPress, trash 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, trash a comment via The WordPress Logo for our integration WordPress.
When a topic was created via The bbPress Logo for our WP Webhooks integration bbPress, trash a comment 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, trash a comment via The WordPress Logo for our integration WordPress.
When a group access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, trash a comment via The WordPress Logo for our integration WordPress.
When a membership was set to pending cancellation via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, trash a comment 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, 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 payment was completed via The Gravityforms Logo for our integration Gravity Forms, trash a comment via The WordPress Logo for our integration WordPress.
When a cover photo was removed via The WP User Manager Logo for our WP Webhooks integration WP User Manager, trash a comment via The WordPress Logo for our integration WordPress.
When a donation is processed via The GiveWP Logo for our WP Webhooks integration GiveWP, trash 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, trash a comment via The WordPress Logo for our integration WordPress.
When a donation is pending via The GiveWP Logo for our WP Webhooks integration GiveWP, trash a comment via The WordPress Logo for our integration WordPress.
When a form was submitted via The JetEngine Logo for our WP Webhooks integration JetEngine, trash a comment via The WordPress Logo for our integration WordPress.
When an order was created 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 license was deactivated 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 topic was favored via The bbPress Logo for our WP Webhooks integration bbPress, trash 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.