# General_Settings::sanitize_login_redirect_mode()

Sanitise the redirect mode.

```php
sanitize_login_redirect_mode( $value ): string
```

## Parameters

- `$value` (mixed) Raw value.

## Return

`string` One of `dashboard`, `home`, `custom`.

## Changelog

| Version | Description |
| --- | --- |
| 1.6.0 | Introduced |
