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
| Parameter | Type | Description |
|---|---|---|
$row | array<string, mixed> | Attributes for the email-log table. |
$source | string | Migration source id. |
$log | \BooleanSmtp\Services\Migration\Canonical\CanonicalEmailLog | The row as the source read it. |
Returns array<string, mixed> — The attributes to store.
Fires in
app/Services/Migration/MigrationRunner.php:358—BooleanSmtp\Services\Migration\MigrationRunner::runLogs()
Example
add_filter( 'boolean_smtp_migration_log_row', function ( array $row, string $source, \BooleanSmtp\Services\Migration\Canonical\CanonicalEmailLog $log ) { return $row;}, 10, 3 );Next steps
- Migration from other plugins — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.