-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
ssi_logout
Description
Displays a logout link.
Syntax
void ssi_logout ([string $redirect_to[, string $output_method]])
Parameter $redirect_to
Expected type: String
Description: The URL to redirect the user to once the logout. If not specified, redirects them to the forum index.
Parameter $output_method
Expected type: String
Description: Outputs the link if 'echo' or returns it if anything else
Notes
- If the user is a guest, returns false
- redirect_to specifies where the user should be sent after logging out.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.036 seconds with 13 queries.
- Forum Search