Skip navigation
Help

hook_uc_invoice_templates

6 hooks.php hook_uc_invoice_templates()
7 uc_order.api.php hook_uc_invoice_templates()

Adds invoice templates to the list of suggested template files.

Allows modules to declare new "types" of invoice templates (other than the default 'admin' and 'customer').

Return value

Array of template names that are available choices when mailing an invoice.

Related topics

1 function implements hook_uc_invoice_templates()

1 invocation of hook_uc_invoice_templates()

File

ubercart/uc_order/uc_order.api.php, line 22
Hooks provided by the Order module.

Code

function hook_uc_invoice_templates() {
  return array('admin', 'customer');
}