Sign out Code for on-page button

I have a button on page that I would like to use for sign-out (don’t want to use ‘sign out’ in the nav on this page) - is there a custom code to sign out a user?

You could use the approach here: Logout users after a period of inactivity

You would need to write a code to hook into button click and then remove the cookie and then reload

Awesome. Thanks @artur!