Skip to main content

mbr_is_admin

Usage​

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

Parameters​

None.

Validity​

This shortcode is evaluated for any type of visitor.

Conditional Branching​

[ELSE_is_admin] conditional branching is supported.

Nesting​

Shortcode nesting is NOT supported.

Examples​

Will display "Display this if an administrator." if the visitor is logged in and an administrator user of the WordPress site:

[mbr_is_admin]
Display this if an administrator.
[/mbr_is_admin]

API​

info

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