Update comment action

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

How to update a comment

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

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

(string) The HTTP user agent of the comment_author when the comment was submitted. Default empty.

comment_agent

(string) The HTTP user agent of the comment_author when the comment was submitted. Default empty.

comment_approved

(int|string) Whether the comment has been approved. Default 1.

comment_author

(string) The name of the author of the comment. Default empty.

comment_author_email

(string) The email address of the $comment_author. Default empty.

comment_author_IP

(string) The IP address of the $comment_author. Default empty.

comment_author_url

(string) The URL address of the $comment_author. Default empty.

comment_content

(string) The content of the comment. Default empty.

comment_date

(string) The date the comment was submitted. To set the date manually, comment_date_gmt must also be specified. Default is the current time.

comment_date_gmt

(string) The date the comment was submitted in the GMT timezone. Default is comment_date in the site's GMT timezone.

comment_karma

(int) The karma of the comment. Default 0.

comment_parent

(int) ID of this comment's parent, if any. Default 0.

comment_post_ID

(int) ID of the post that relates to the comment, if any. Default 0.

comment_type

(string) Comment type. Default empty.

comment_meta

(array) Optional. Array of key/value pairs to be stored in commentmeta for the new comment. More info within the description.

user_id

(int) ID of the user who submitted the comment. Default 0.

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 "Update comment" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a comment was deleted via The WordPress Logo for our integration WordPress, update a comment via The WordPress Logo for our integration WordPress.
When the page cache was cleared via The WP-Optimize Logo for our WP Webhooks integration WP-Optimize, update a comment via The WordPress Logo for our integration WordPress.
When an account was approved via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, update a comment via The WordPress Logo for our integration WordPress.
When a donation was refunded via The GiveWP Logo for our WP Webhooks integration GiveWP, update 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, update a comment via The WordPress Logo for our integration WordPress.
When a profile photo was removed via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, update a comment 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, update a comment via The WordPress Logo for our integration WordPress.
When a post was trashed via The WordPress Logo for our integration WordPress, update a comment via The WordPress Logo for our integration WordPress.
When a new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, update a comment via The WordPress Logo for our integration WordPress.
When an account was marked inactive via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, update 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, update a comment via The WordPress Logo for our integration WordPress.
When an order was refunded via The Studiocart Logo for our WP Webhooks integration Studiocart, update a comment via The WordPress Logo for our integration WordPress.
When a user completed a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, update a comment 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, update a comment via The WordPress Logo for our integration WordPress.
When a taxonomy term was created via The WordPress Logo for our integration WordPress, update a comment via The WordPress Logo for our integration WordPress.
When a subscription was cancelled via The Studiocart Logo for our WP Webhooks integration Studiocart, update 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, update a comment via The WordPress Logo for our integration WordPress.
When an account information was updated via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, update a comment 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, update a comment via The WordPress Logo for our integration WordPress.
When an export was created via The WP All Export Logo for our WP Webhooks integration WP All Export, update a comment 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, update 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.