W3cubDocs

/WordPress

do_action( 'xmlrpc_call_success_wp_newComment', int $comment_ID, array $args )

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

Parameters

$comment_ID

(int) ID of the new comment.

$args

(array) An array of new comment arguments.

Source

File: wp-includes/class-wp-xmlrpc-server.php

View on Trac

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_call_success_wp_newcomment