Skip to content

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

ParameterTypeDescription
$resultarray<string, mixed>
  connection_idintId of the connection that was activated.
  driverstringTransport driver key of that connection.
  made_primaryboolWhether it became the default connection.
  migration_sourcestring|nullMigration source the wizard imported from, `null` for a fresh set-up.
  log_retention_daysint|nullLog retention stored with it, `null` when left unchanged.

Fires in

Example

boolean_smtp_onboarding_applied.php
add_action( 'boolean_smtp_onboarding_applied', function ( array $result ) {
// React to the event.
}, 10, 1 );

Next steps