Skip to content

boolean_smtp_email_logged

Fires after an email log entry has been created.

action Tier B Since 1.0.0

Signature

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

Parameters

ParameterTypeDescription
$payloadarray<string, mixed>Email log summary: id, to, subject and status.

Fires in

Example

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

Next steps