Refactored Optin Status - 2020-02-12
In version 2.1.13 of Groundhogg, the contact optin status integer value is being refactored.
Beyond 2.1.13, the optin_status will be a value between 1 and 8, rather than the old 0 and 7.
This is because of the way PHP treats empty values and the parsing of data, maintaining compatibility for the 0 value optin status (unconfirmed) is a hindrance to development.
The new optin status integer values are as follows.
- 1 — Unconfirmed
- 2 — Confirmed
- 3 — Unsubscribed
- 4 — Weekly
- 5 — Monthly
- 6 — Bounced
- 7 — Spam
- 8 — Complained
When updating to 2.1.13 the current optin statuses of all contacts will be automatically upgraded.