mail Email address * recipient->status Status flag (1, 0) * 1 = may receive email, is subscribed; * 0 = should not receive email, is unsubscribed. * recipient->language Language code of preferred email language * @param $scid * Newsletter category ID. */ // TODO Is 'uid' also required? // recipient->uid User ID of recipient (0 for anonymous) function hook_simplenews_recipients_alter(&$recipients, $tid) { $category = simplenews_category_load($tid); $recipients = simplenews_array_merge($recipients, simplenews_get_subscriptions_by_list($category->tid), 'simplenews_check_status'); } /** * TODO */ function hook_simplenews_category_insert($category) { } /** * TODO */ function hook_simplenews_category_update($category) { } /** * TODO */ function hook_simplenews_category_delete($category) { } /** * TODO */ function hook_simplenews_mailing_list_insert($list) { } /** * TODO */ function hook_simplenews_subscriber_update($subscriber) { } /** * TODO */ function hook_simplenews_subscriber_insert($subscriber) { } /** * TODO */ function hook_simplenews_subscriber_delete($category) { }