function subscriptions_mail_mail_alter in Subscriptions 2.0.x
Same name and namespace in other branches
- 5.2 subscriptions_mail.module \subscriptions_mail_mail_alter()
- 6 subscriptions_mail.cron.inc \subscriptions_mail_mail_alter()
- 7 subscriptions_mail.module \subscriptions_mail_mail_alter()
Implements hook_mail_alter().
Optionally change links to use HTTPS, but only for Subscriptions mails.
Parameters
$message:
File
- subscriptions_mail/
subscriptions_mail.module, line 57 - Subscriptions module mail gateway.
Code
function subscriptions_mail_mail_alter(array &$message) {
if (_subscriptions_mail_cron_is_running()) {
_subscriptions_mail_mail_alter($message);
}
}