# boolean_smtp_outlook_settings_schema

> Filters the Outlook connection settings schema before it is returned to the admin UI.

Filter · Tier B · Since 1.0.0

Allows an add-on to extend the schema with fields for an additional delivery mode (for example, a hosted OAuth proxy or an application-permission mode). Return the schema, keyed by field name.

## Signature

```php
add_filter( 'boolean_smtp_outlook_settings_schema', $callback, 10, 1 );
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$schema` | `array<string, array{type: string, label: string, required: bool, default?: mixed}>` | Settings schema keyed by field name. |

**Returns** `array<string, array{type: string, label: string, required: bool, default?: mixed}>` — The filtered schema.

## Fires in

- [app/Services/Mailer/Transports/OutlookTransport.php:252](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Services/Mailer/Transports/OutlookTransport.php#L252) — `BooleanSmtp\Services\Mailer\Transports\OutlookTransport::getSettingsSchema()`

## Example

```php
add_filter( 'boolean_smtp_outlook_settings_schema', function ( array $schema ) {
    return $schema;
}, 10, 1 );
```
