boolean_smtp_outlook_probe_app_permission
Filters the result of an Outlook Application Permission connection probe.
filter Tier B Since 1.0.0
Implemented by the BooleanSMTP Pro add-on. A non-array result, or one missing the `success` key, is treated as Pro not being active or licensed.
Signature
add_filter( 'boolean_smtp_outlook_probe_app_permission', $callback, 10, 2 );Parameters
| Parameter | Type | Description |
|---|---|---|
$result | mixed | Default value; null unless a callback has run. Return `array{success: bool, error?: \WP_Error}` describing the outcome. |
$settings | array<string, mixed> | Decrypted connection settings. |
Returns mixed — The result to use, or the default to run the built-in behaviour.
Fires in
app/Services/Mailer/Api/MicrosoftGraphMailSender.php:330—BooleanSmtp\Services\Mailer\Api\MicrosoftGraphMailSender::dispatchAppPermission()
Example
add_filter( 'boolean_smtp_outlook_probe_app_permission', function ( $result, array $settings ) { return $result;}, 10, 2 );Next steps
- Provider transports — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.