mbr_is_email_unconfirmed
Usage
This shortcode determines the content to be included based upon a specific ActiveCampaign list's unconfirmed status of the current logged in user.
Parameters
Parameters | Description |
---|---|
list_id | The ActiveCampaign list ID whose status should be evaluated 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 otherwise it is ignored.
Conditional Branching
[ELSE_is_email_unconfirmed] conditional branching is supported.
Nesting
Shortcode nesting within is NOT supported.
Examples
- Example 1
- Example 2
Will display "You are not currently double opted in for our Advanced list." if the current logged in users status for the ActiveCampaign list with ID 23 is unconfirmed:
[mbr_is_email_unconfirmed list_id='23']
You are not currently double opted in for our Advanced list.
[/mbr_is_email_unconfirmed]
Will display "Display this if contact is a SINGLE opt in." if the current logged in users status for the ActiveCampaign list with ID 17 is unconfirmed. Otherwise "For all others display this." will be displayed:
[mbr_is_email_unconfirmed list_id='17']
Display this if contact is a SINGLE opt in.
[ELSE_is_email_unconfirmed]
For all others display this.
[/mbr_is_email_unconfirmed]
API
For direct use in PHP code use the conditional function mbr_is_email_unconfirmed($list_id)
in a structure as illustrated here:
$list_id = 5;
IF (mbr_is_email_unconfirmed($list_id)) :
echo 'You are not confirmed for our content emails.';
ENDIF;