do_action( ‘xmlrpc_call_success_wp_newComment’, int $comment_id, array $args )

In this article

Fires after a new comment has been successfully created via XML-RPC.

Parameters

$comment_idint
ID of the new comment.
$argsarray
An array of new comment arguments.

Source

if ( ! $comment_id ) {

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.