This shortcode provide conditional logic to display content alternatives dependent upon whether a contact’s email address is active for the requested list.
[ELSE_is_email_active] conditional branching is supported.
Shortcode nesting is NOT supported.
|list_id||The list id you want to check, for active email status of the logged in contact.
[mbr_is_email_active list_id='5'] Display this if the contacts email address is Active for the list. [ELSE_is_email_active] Otherwise, display this. [/mbr_is_email_active]
To use this shortcode in your own PHP code, please use as follows:
// Please note that when using PHP, you must code your own true and false branches $list_id = 5; IF (mbr_is_email_active($list_id)) : echo 'You have an active email and are confirmed to receive our content mailing.'; ENDIF;