Skip to main content

mbr_menu_loginout_url

Usage​

This shortcode returns either the login URL for a not logged in user or the logout URL for a logged in user.

It is primarily intended for use within WordPress menu items, but can be used anywhere shortcodes are supported.

Parameters​

None.

Validity​

This shortcode is evaluated for any type of visitor.

Conditional Branching​

This shortcode does NOT support conditional branching with [ELSE_menu_loginout_url].

Nesting​

Shortcode nesting is NOT supported.

Examples​

Will return either the login URL for a not logged in user or the logout URL for a logged in user.

[mbr_menu_loginout_url]

API​

Note

There is currently no ActiveMember360 API function equivalent for this shortcode.