Skip to main content

mbr_not_logged_in

Usage

This shortcode determines the content to be included based upon the logged in status of the current visitor.

Parameters

None.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

[ELSE_not_logged_in] conditional branching is supported.

Nesting

Shortcode nesting is NOT supported.

Examples

Will display "Display this if not logged in." if the visitor is not logged in to the WordPress site:

[mbr_not_logged_in]
Display this if not logged in.
[/mbr_not_logged_in]

API

info

There is no ActiveMember360 API function equivalent for this shortcode. Please use the regular WordPress function is_user_logged_in with the PHP if else construct.