xmlrpc_call, wp.deleteComment, $args, $this
xmlrpc_call, wp.deleteComment, $args, $this
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('xmlrpc_call, wp.deleteComment, $args, $this') is found 1 times:
- /wp-includes/class-wp-xmlrpc-server.php line 3765
return new IXR_Error( 403, __( 'Sorry, you are not allowed to delete this comment.' ) ); } /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */ do_action( 'xmlrpc_call', 'wp.deleteComment', $args, $this ); $status = wp_delete_comment( $comment_id ); if ( true === $status ) { /** * Fires after a comment has been successfully deleted via XML-RPC.