Skip to content

boolean_smtp_connection_updated

Fires after a connection has been updated through the REST API.

action Tier A Since 1.0.0

Signature

add_action( 'boolean_smtp_connection_updated', $callback, 10, 1 );

Parameters

ParameterTypeDescription
$payloadarray<string, mixed>
  idintId of the updated connection.
  dataarray<string, mixed>The connection's full record after the update.
  timestampintUnix timestamp of the update.

Fires in

Example

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

Next steps