User-logout_url Tag
Example
<a href="{{ user:logout_url }}">Log out</a>
<a href="{{ Statamic::tag('user:logout_url')->fetch() }}">Log out</a>
Parameters
redirect
string
Where the user should be redirected after logging out. Defaults to the home page.
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page