function hook_uc_invoice_templates in Ubercart 6.2
Same name and namespace in other branches
- 7.3 uc_order/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.
1 function implements hook_uc_invoice_templates()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- uc_order_uc_invoice_templates in uc_order/
uc_order.module - Implements hook_uc_invoice_templates().
1 invocation of hook_uc_invoice_templates()
- uc_invoice_template_list in uc_order/
uc_order.module - Return an array of invoice templates found in ubercart/uc_order/templates.
File
- docs/
hooks.php, line 1608 - These are the hooks that are invoked by the Ubercart core.
Code
function hook_uc_invoice_templates() {
return array(
'admin',
'customer',
);
}