Skip to content

i4w_logout_url

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.

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
Shortcode
[i4w_logout_url]
Shortcode
[i4w_logout_url text='Get me outa here']