Skip to main content

mbr_email_status

Usage

This shortcode returns the email status of the currrent logged in user for a specific ActiveCampaign list.

The returned value will be one of the following: active, unconfirmed, unsubscribed, bounced, or Contact not related to this list.

Parameters

ParametersDescription
list_idThe ActiveCampaign list ID for which the email status should be returned for the current logged in user. The list_id can be determined in ActiveMember360, Utilities, Lists.
Default: none.
Required: yes.

Validity

This shortcode is only evaluated for logged in users who also exist as contacts within ActiveCampaign.

In all other cases, including WordPress users with the Administrator role nothing will be returned.

Conditional Branching

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

Nesting

Shortcode nesting is NOT supported.

Examples

Will return the email status for the current logged in user for the ActiveCampaign list with ID 23:

[mbr_email_status list_id='23']

API

For direct use in PHP code use the conditional function mbr_email_status($list_id) in a structure as illustrated here:

$list_id = 5;
echo mbr_email_status($list_id);