xmlrpc_call_success_wp_editComment
Fires after a comment has been successfully updated via XML-RPC.
Usage
add_action( 'xmlrpc_call_success_wp_editComment', 'wp_kama_xmlrpc_call_success_wp_editComment_action', 10, 2 );
/**
* Function for `xmlrpc_call_success_wp_editComment` action-hook.
*
* @param int $comment_id ID of the updated comment.
* @param array $args An array of arguments to update the comment.
*
* @return void
*/
function wp_kama_xmlrpc_call_success_wp_editComment_action( $comment_id, $args ){
// action...
}
- $comment_id(int)
- ID of the updated comment.
- $args(array)
- An array of arguments to update the comment.
Changelog
| Since 3.4.0 | Introduced. |
Where the hook is called
xmlrpc_call_success_wp_editComment
wp-includes/class-wp-xmlrpc-server.php 3891
do_action( 'xmlrpc_call_success_wp_editComment', $comment_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase