xmlrpc_call_success_wp_editComment action-hook . WP 3.4.0
Fires after a comment has been successfully updated via XML-RPC.
Usage
add_action( 'xmlrpc_call_success_wp_editComment', 'action_function_name_2393', 10, 2 ); function action_function_name_2393( $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 3809
do_action( 'xmlrpc_call_success_wp_editComment', $comment_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase