This filter allows you to change the lifespan of the cookies your users receive from the “Points for referrals” hook. By default the cookies lifespan is set to 24 hours.
A unix timestamp when the cookie will expire. By default this is 24 hours from the current time.
Indicates if this is for the signup (true) or the visitor (false) cookie.
The Points for Referrals hook class object.
|Not used by any built-in package.|
Example 1: Change the cookies lifespan from 24 hours to 1 year.