This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

customer_logout function

Defined in /modules/shop/init/custom_helpers.php, lines 34-37
Author LemonStand eCommerce Inc.
void function customer_logout(string $redirect=NULL)
$redirect string specifies an URL to redirect the customer to.
Closes a session of a current customer and optionally redirects browser to a specified address. Use this function to create the Logout page. The following code represents contents of a simplest logout page.
<? customer_logout('/'); ?>