Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion includes/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,21 @@ function edd_slm_settings( $settings ) {
'type' => 'text',
'std' => ''
),
array(
'id' => 'edd_slm_api_license_term',
'name' => __( 'License Term', 'edd-slm' ),
'desc' => __( 'How long the license is valid', 'edd-slm' ),
'type' => 'select',
'options' => array ( '0000-00-00' => __('Forever', 'edd-slm'),
730 => __('Two Years', 'edd-slm'),
365 => __('One Year', 'edd-slm'),
180 => __('Six Months', 'edd-slm'),
90 => __('90 Days', 'edd-slm'),
60 => __('60 Days', 'edd-slm'),
30 => __('30 Days', 'edd-slm'),
)

),
array(
'id' => 'edd_slm_debug',
'name' => __( 'Enable Debug', 'edd-slm' ),
Expand Down Expand Up @@ -85,4 +100,4 @@ function edd_slm_api_validation() {
}

return true;
}
}