Automatically redirect to current page after logout WordPress

Estimated reading time: 96 words, 0-1 minute Font: 551 Views

By default after user log out WordPress, user will be redirect to the login page.

This snippet code/plugin to allowed user stay on the current page after log out from WordPress admin bar.

WordPress Hook: logout_url

Found this article helpful? Why not share it on social media and help someone else too?
Twitter (Open in new window) FaceBook (Open in new window)
Posted in categories of My Essays This page was last modified on
Return to all My Essays articles

Tell us what you liked (or didn't like) about this article in the comments.

By creating an account, you agree to our Terms of Service and Private Policy.

Comment Policy