function uc_recurring_product_feature in UC Recurring Payments and Subscriptions 6.2
Same name and namespace in other branches
- 6 uc_recurring.module \uc_recurring_product_feature()
Implementation of hook_product_feature().
File
- modules/
uc_recurring_product/ uc_recurring_product.module, line 15 - Add recurring payments/fees to a product. This is imlpemented through Ubercarts product features.
Code
function uc_recurring_product_feature() {
$features[] = array(
'id' => 'recurring',
'title' => t('Recurring fee'),
'callback' => 'uc_recurring_product_feature_form',
'delete' => 'uc_recurring_product_fee_product_delete',
'settings' => 'uc_recurring_product_settings_form',
);
return $features;
}