You are here

function hook_simplenews_subscribe_user in Simplenews 7

Same name and namespace in other branches
  1. 8.2 simplenews.api.php \hook_simplenews_subscribe_user()
  2. 8 simplenews.api.php \hook_simplenews_subscribe_user()
  3. 7.2 simplenews.api.php \hook_simplenews_subscribe_user()
  4. 3.x simplenews.api.php \hook_simplenews_subscribe_user()

Invoked if a user is subscribed to a newsletter.

Parameters

$subscriber: The subscriber object including all subscriptions of this user.

$subscription: The subscription object for this specific subscribe action.

Related topics

1 function implements hook_simplenews_subscribe_user()

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_subscribe_user in simplenews_rules/simplenews_rules.module
Implements hook_simplenews_unsubscribe_user().
1 invocation of hook_simplenews_subscribe_user()
simplenews_subscribe_user in ./simplenews.module
Subscribe a user to a newsletter or send a confirmation mail.

File

./simplenews.api.php, line 170
Hooks provided by the Simplenews module.

Code

function hook_simplenews_subscribe_user($subscriber, $subscription) {
}