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
| Parameter | Type | Description |
|---|---|---|
$payload | array<string, mixed> | |
id | int | Id of the updated connection. |
data | array<string, mixed> | The connection's full record after the update. |
timestamp | int | Unix timestamp of the update. |
Fires in
app/Http/Controllers/ConnectionController.php:261—BooleanSmtp\Http\Controllers\ConnectionController::update()
Example
add_action( 'boolean_smtp_connection_updated', function ( array $payload ) { // React to the event.}, 10, 1 );Next steps
- Connections and OAuth — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.