Usage:
This shortcode generates a link to log out of the membership site, taking your logout redirect settings into account.
This shortcode does NOT supports conditional branching with [ELSE_logout_url].
Shortcode nesting is NOT supported.
Parameters:
redir | An alternate redirection target may be given. If none is given, the applicable target for the membership level will be used. Default: Membership setting. Required: No. |
text | An alternate text for the generated link. Default: ‘Logout’. Required: No. |
class | CSS class used to display text. Default: ‘i4w_logout_url’. Required: No. |
Example:
[i4w_logout_url]
[i4w_logout_url text='Get me outa here']
Notes:
The CSS class ‘i4w_logout_url’ may be used to alter the appearance of the link.
API:
To use this shortcode in your own PHP code, please use as follows:
'http://disney.com', 'text'=>'Click here to logout' ) ); ?>