benecaster_migration_account_link_ttl_days
How long the set-a-password link in a migrated free member’s welcome email stays valid. Default 30.
Thirty days rather than Benecaster’s usual one week, because of the send pace. Migration emails go out gradually, and the link’s clock starts when it is created, not when it is read; on a large list the last welcome can leave more than a week after the first.
Do not replace it with a WordPress password-reset link. Those expire after 24 hours, which a paced send outlives several times over.
Only a free member whose account the migration created gets the link. Someone who already had an account chose their own password; a paying member signs in through their completion link. A value of 0 or less is treated as one day.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$days |
int |
— | Days the link stays valid. Default 30 |
Returns:
int
Need this built rather than just documented? See our services →