You are here

function uc_recurring_product_feature in Ubercart 5

Implementation of hook_product_feature().

File

payment/uc_recurring/uc_recurring.module, line 313
Allows you to add a recurring fee to a product/SKU to handle subscription type services.

Code

function uc_recurring_product_feature() {
  $features[] = array(
    'id' => 'recurring',
    'title' => t('Recurring fee'),
    'callback' => 'uc_recurring_feature_form',
    'delete' => 'uc_recurring_fee_delete',
    'settings' => 'uc_recurring_settings_form',
  );
  return $features;
}