Skip to main content

i4w_menu_loginout_label

Usage

This shortcode returns "Login" if the visitor is not logged in and "Logout" if s/he is. It is primarily intended for use in WP menu items, but can be used anywhere.

[ELSE_menu_loginout_label] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

Parameters

None

Example

Shortcode
[i4w_menu_loginout_label]