boolean_smtp_email_queued
Fires after an email has been added to the queue.
action Tier A Since 1.0.0
Signature
add_action( 'boolean_smtp_email_queued', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$payload | array<string, mixed> | |
id | int | Id of the queued email log. |
to | string | Recipient address(es). |
subject | string | Email subject. |
Fires in
includes/boolean-smtp-queue.php:74—::boolean_smtp_queue()
Example
add_action( 'boolean_smtp_email_queued', function ( array $payload ) { // React to the event.}, 10, 1 );Next steps
- Delivery lifecycle — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.