function hook_simplenews_unsubscribe in Simplenews 7.2
Same name and namespace in other branches
- 8.2 simplenews.api.php \hook_simplenews_unsubscribe()
- 8 simplenews.api.php \hook_simplenews_unsubscribe()
- 3.x simplenews.api.php \hook_simplenews_unsubscribe()
Invoked if a subscriber is unsubscribed from a newsletter.
Parameters
$subscriber: The subscriber object including all subscriptions of this user.
$subscription: The subscription object for this specific unsubscribe action.
Related topics
1 function implements hook_simplenews_unsubscribe()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- simplenews_rules_simplenews_unsubscribe in simplenews_rules/
simplenews_rules.module - Implements hook_simplenews_unsubscribe().
1 invocation of hook_simplenews_unsubscribe()
- simplenews_unsubscribe in ./
simplenews.module - Unsubscribe a user from a mailing list or send a confirmation mail.
File
- ./
simplenews.api.php, line 184 - Hooks provided by the Simplenews module.
Code
function hook_simplenews_unsubscribe(SimplenewsSubscriber $subscriber, $subscription) {
}