[memb_logout_link]
This Applies to
OTHER DOCS Available
Summary
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
htmlattr: Embeds the output of the shortcode into an HTML attribute. For example to put the shortcode output into the href attribute of an <a> tag, you would use htmlattr=href
linktext: defaults to ‘Logout’
url: defaults to whatever membership logout page is set
Shortcode Attributes
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.