Usage:

This shortcode provide conditional logic to display content alternatives depending on a contact’s “unsubscribe” status of the requested list.

[ELSE_is_email_unsubscribed] conditional branching is supported.
Shortcode nesting is NOT supported.

Parameters:

list_id The list id you want to check, for a unsubscribed status of the logged in contact.
Default: none.
Required: yes.

Example:

[mbr_is_email_unsubscribed list_id='5']
  Display this if contact has UNSUBSCRIBED.
[ELSE_is_email_unsubscribed]
  Otherwise, display this.
[/mbr_is_email_unsubscribed]

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_unsubscribed($list_id)) :
  echo 'You have unsubscribed of this list.';
ENDIF;