Easily add a log out link or button to a post or page using a simple shortcode.
There are 3 shortcodes that can be used:
All 3 shortcodes all support 3 attributes/parameters:
[logout text="" class="" redirect=""]
The 3 supported attributes/parameters are:
[logout text="Log Off"]
Log Offlink that logs the user out.
[logout_to_home text="Log Off"]
Log Offlink that logs the user out and redirects them to your home page.
Note: the shortcodes will return nothing/empty if the user isn't logged in.
This plugin is inspired by the Logout Button plugin by Ben Poland.
Requires: 3.9 or higher
Compatible up to: 4.1.1
Last Updated: 2015-2-9
Active Installs: 700+
1 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?