ExpressionEngine Docs

Input Library Extension Hooks


Parameter Type Description
$data Array Array of prepped cookie parameters, which include the following keys: prefix, name, value, expire, path, domain, secure_cookie, samesite
Returns Void

Take control of setting cookies after cookie parameters have been normalized according to the cookie configuration settings.

How it’s called:

ee()->extensions->call('set_cookie_end', $data);
if (ee()->extensions->end_script === TRUE) return;