1. Home
  2. Shortcode Reference
  3. Logout Link

Logout Link



The shortcode can be used without any parameters, as shown above. For additional configuration, add any of the following optional parameters to the shortcode:

  • text – Enter the message to display to logged-in members.
  • link_text – Change the logout link text.
  • redirect_url – Enter a URL to redirect users to after successfully logging out. By default, the current page will be reloaded.

Example Usage

[wpay-logout text="You are currently logged in." link_text="Log out" redirect_url="http://mysite.com/home"]
Was this article helpful to you? Yes No

How can we help?