Usage:
This shortcode provide conditional logic to display content alternatives dependent upon whether a contact’s email address has bounced for the requested list.
[ELSE_is_email_bounced] conditional branching is supported.
Shortcode nesting is NOT supported.
Parameters:
list_id | The list id you want to check, for bounced email status of the logged in contact. Default: none. Required: yes. |
Example:
[mbr_is_email_bounced list_id='5'] Display this if the contacts email address is Bounced for the list. [ELSE_is_email_bounced] Otherwise, display this. [/mbr_is_email_bounced]
API:
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_bounced($list_id)) : echo 'Bounced.'; ENDIF; </code>