Skip to main content

mbr_is_contact

Usage

This shortcode determines the content to be included based upon whether the current logged in user is an ActiveCampaign contact or has the contact ID specified.

Parameters

ParametersDescription
idThe ActiveCampaign contact ID to be used for the evaluation.
Default: none.
Required: no.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

[ELSE_is_contact] conditional branching is supported.

Nesting

Shortcode nesting is supported: [mbr_is_contact1] thru [mbr_is_contact19]
[ELSE_is_contact1] thru [ELSE_is_contact19]
[/mbr_is_contact1] thru [/mbr_is_contact19]

Examples

Displays "Display this if the visitor is logged in AND is an ActiveCampaign contact" if the current logged in WordPress user is linked to an ActiveCampaign contact:

[mbr_is_contact]
Display this if the visitor is logged in AND is an ActiveCampaign contact
[/mbr_is_contact]

API

Note

There is no ActiveMember360 API function equivalent for this shortcode.