boolean_smtp_onboarding_applied
Fires after the onboarding wizard has applied a reviewed connection.
action Tier B Since 1.0.0
Signature
add_action( 'boolean_smtp_onboarding_applied', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$result | array<string, mixed> | |
connection_id | int | Id of the connection that was activated. |
driver | string | Transport driver key of that connection. |
made_primary | bool | Whether it became the default connection. |
migration_source | string|null | Migration source the wizard imported from, `null` for a fresh set-up. |
log_retention_days | int|null | Log retention stored with it, `null` when left unchanged. |
Fires in
app/Services/Onboarding/OnboardingApplyService.php:111—BooleanSmtp\Services\Onboarding\OnboardingApplyService::apply()
Example
add_action( 'boolean_smtp_onboarding_applied', function ( array $result ) { // React to the event.}, 10, 1 );Next steps
- Admin UI and REST API — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.