# boolean_smtp_ses_settings_schema

> Filters the Amazon SES 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 additional fields (for example, Configuration Set, a custom API endpoint, SMTP keep-alive, or static message tags). Return the schema, keyed by field name.

## Signature

```php
add_filter( 'boolean_smtp_ses_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/SesTransport.php:471](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Services/Mailer/Transports/SesTransport.php#L471) — `BooleanSmtp\Services\Mailer\Transports\SesTransport::getSettingsSchema()`

## Example

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