Skip to content

boolean_smtp_before_connection_delete

Fires immediately before a connection is deleted.

action Tier A Since 1.0.0

Signature

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

Parameters

ParameterTypeDescription
$payloadarray<string, mixed>
  idintId of the connection about to be deleted.
  dataarray<string, mixed>The connection's full record before deletion.
  timestampintUnix timestamp of the request.

Fires in

Example

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

Next steps