Skip to content

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

add_filter( 'boolean_smtp_ses_settings_schema', $callback, 10, 1 );

Parameters

ParameterTypeDescription
$schemaarray<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

Example

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

Next steps