You are here

function uc_recurring_message_formats in UC Recurring Payments and Subscriptions 7.2

Options list callback for message formats.

1 string reference to 'uc_recurring_message_formats'
uc_recurring_rules_action_info in ./uc_recurring.rules.inc
Implements hook_rules_action_info(). Send an email to an order with a role expiration.

File

./uc_recurring.rules.inc, line 165
Rules definitions.

Code

function uc_recurring_message_formats() {
  global $user;
  $options = array();
  $formats = filter_formats($user);
  foreach ($formats as $format) {
    $options[$format->format] = $format->name;
  }
  return $options;
}