You are here

function hook_mailchimp_unsubscribe_success in Mailchimp 8

Same name and namespace in other branches
  1. 2.x mailchimp.api.php \hook_mailchimp_unsubscribe_success()

Perform an action when an email is successfully unsubscribed from a list.

Parameters

string $list_id: The Mailchimp list ID.

string $email: The email address unsubscribed.

1 invocation of hook_mailchimp_unsubscribe_success()
mailchimp_unsubscribe_process in ./mailchimp.module
Unsubscribes a member from a Mailchimp list.

File

./mailchimp.api.php, line 40
Mailchimp module hook definitions.

Code

function hook_mailchimp_unsubscribe_success($list_id, $email) {
}