Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Hi
I want to create a logout link in my menu.
Userpro has a logout redirect option which I have set to show a page after logout.
What url do I use in my menu so that it redirects to this page depending on the role? (i.e. as per Userpro settings)
There is not LOGOUT->BASED on role, there’s LOGIN/Register redirects based on ROLES though
:)Thanks
@Ahmed – I’m just looking for a log out link for my menu for ANY role that is logged in. I.e. not role specific.
What is the logout URL I can use in my menu?
There’s a page that logout users. should be /logout/ see in this demo Pages > menu > logout. 🙂
Thanks. It may be related to the redirect issue I’ve posted in another thread. I’m using that logout page. I’ve deactivated all plugins and activated default theme and there is still issues.
I’ve showed you if you want to create custom logout link. There’s a supported native function for that. Or use the logout page and control its settings from logout page settings. There’s also logout_redirect option that can be used with shortcodes.
You must be logged in to reply to this topic.