benecaster_analytics_winback
Fires every time the add-on reads the win-back list, after the per-show check: what GET benecaster-analytics/v1/analytics/winback answers. With no days, total is the Subscribers screen’s count. The window always ends now. available is false when the feed request log is switched off: no data, not zero. A lead names a WordPress account, so show it to administrators only. A non-array return is ignored.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$data |
array |
— | The drill-down, with `available`, `total`, `by_tier`, `by_app`, `by_show`, `count` and `leads`. |
$args |
array |
— | `show_ids`, `window_days`, `tier_slug`, `app`. |
Returns:
array
Need this built rather than just documented? See our services →