Skip to main content

i4w_logout_url

Usage

This shortcode generates a link to log out of the membership site, taking your logout redirect settings into account.

[ELSE_logout_url] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

Parameters

ParameterDescriptionDefaultRequired
redirAn alternate redirection target may be given. If none is given, the applicable target for the membership level will be used.Membership settingNo
textAn alternate text for the generated link.LogoutNo
classCSS class used to display text.i4w_logout_urlNo

Example

Shortcode
[i4w_logout_url]
Shortcode
[i4w_logout_url text='Get me outa here']

Notes

warning

The CSS class 'i4w_logout_url' may be used to alter the appearance of the link.