You are here

function regcode_mailer_regcode_prepareheading in Registration codes 6

Implements hook_regcode_prepareheading().

File

regcode_mailer/regcode_mailer.module, line 190

Code

function regcode_mailer_regcode_prepareheading(&$heading) {
  $sent = array(
    array(
      'field' => 'mailed',
      'data' => t('Sent'),
    ),
    array(
      'field' => 'recipient',
      'data' => t('Recipient'),
    ),
  );
  array_splice($heading, count($heading) - 1, 0, $sent);
}