Registers a callback function to be called when a member logs out.
Use this function to run code after a member logs out, such as clearing cached data, updating the UI, or redirecting to a public page.
handler(): void Callback function to run when a member logs out.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.