benecaster_migration_dashboard_imports
Filters the migrations the dashboard reports for a show — one entry per import, newest first. Each entry carries id, sourcePlatform, importDate, totalImported, totalCompleted, totalDropped, totalPending, gracePeriodDays, graceEndsAt, status and recordsFreeTiers, as described on the Migration Wizard REST API page.
Do not recompute totalPending from your own numbers. Benecaster works it out (imported, less signed up, less lapsed, never below zero), and a figure you calculate differently makes the four figures disagree with the list of people underneath them.
Do not drop recordsFreeTiers or force it to true. false is what makes the dashboard warn that nobody in that migration will ever be timed out; without the warning those people look slow rather than permanently pending.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$items |
array |
— | One entry per import, newest first (keys above) |
$show_id |
int |
— | ID of the show |
Returns:
array
Need this built rather than just documented? See our services →