Fires immediately after a user is deleted via the REST API.
$userWP_User$responseWP_REST_Response$requestWP_REST_Requestwp-includes/rest-api/endpoints/class-wp-rest-users-controller.php:991WP_REST_Users_Controller::delete_item() * @since 4.7.0 * * @param WP_User $user The user data. * @param WP_REST_Response $response The response returned from the API. * @param WP_REST_Request $request The request sent to the API. */ do_action( 'rest_delete_user', $user, $response, $request ); return $response; } /** * Checks if a given request has access to delete the current user.Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.