Skip to content

boolean_smtp_migration_log_row

Filters an email-log row imported from another SMTP plugin, before it is stored.

filter Tier B Since 1.0.0

Signature

add_filter( 'boolean_smtp_migration_log_row', $callback, 10, 3 );

Parameters

ParameterTypeDescription
$rowarray<string, mixed>Attributes for the email-log table.
$sourcestringMigration source id.
$log\BooleanSmtp\Services\Migration\Canonical\CanonicalEmailLogThe row as the source read it.

Returns array<string, mixed> — The attributes to store.

Fires in

Example

boolean_smtp_migration_log_row.php
add_filter( 'boolean_smtp_migration_log_row', function ( array $row, string $source, \BooleanSmtp\Services\Migration\Canonical\CanonicalEmailLog $log ) {
return $row;
}, 10, 3 );

Next steps