benecaster_migration_failed_sends
Filters the migration emails the dashboard’s Emails that did not send panel lists for one import. The payload is the whole response — items, total, shown, truncated, byType and maxPerType — as described on the Migration Wizard REST API page.
If you remove items, set total, shown and truncated again. They are worked out before the filter runs. Leave them alone and the panel tells the podcaster it is showing some of a larger list, and that the rest will appear, when they never will.
Do not change retryable. Only a failed welcome to somebody still mid-move, whose WordPress account still exists, can be sent again, and half that rule is where the person stands now. Turning it on shows a button the server will refuse.
createdAt is a date with no time zone. Show it as a date and do not convert it. If items is not a list or total is not a number, the panel hides itself rather than drawing part of the list.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$payload |
array |
— | The whole response (keys above) |
$import_id |
int |
— | ID of the import |
$show_id |
int |
— | ID of the show the import belongs to |
Returns:
array
Need this built rather than just documented? See our services →