Description
Adds a log out link to your membership site. Option to include redirect upon log out.
Shortcode Examples
Embed Logout URL into link tag:
<a [memb_logout_link htmlattr=href] >Generate the whole link for you:
[memb_logout_link linktext="Log Out Here"]Generate a Logout Link, and redirect the user to a custom page:
[memb_logout_link linktext="Log Out Here" url="http://yourdomain.com/custom_offer"]Shortcode Parameters
Additional Information
The shortcode is styleable using CSS class “memb_logout_link”.
FAQ
Can I use this shortcode with a page builder?
You can definitely use the shortcode to generate links inside page builders like Elementor, Divi, Beaver Builder, etc.
The only limitation is most page builders do not support shortcodes inside link fields. This means you couldn’t use our shortcode as a link inside a button, image, or any other element/block.
Due to page builders constantly pushing out updates, we don’t have a list on which ones are and aren’t supported, but you can easily test this for yourself.
Shortcode Attributes
| Conditional | No |
|---|---|
| Nestable | No |
| Accepts formatting | No |
| Capturable | No |