This shortcode returns “Login” is 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.
This shortcode does NOT supports conditional branching with [ELSE_menu_loginout_label].
Shortcode nesting is NOT supported.
There is no API function equivalent for this shortcode.