option to force login to download files

This commit is contained in:
Patrick Garman 2012-01-29 02:27:49 +00:00
parent 862df444c7
commit 03a6defba5
1 changed files with 8 additions and 0 deletions

View File

@ -241,6 +241,14 @@ $woocommerce_settings['general'] = apply_filters('woocommerce_general_settings',
)
),
array(
'name' => __('Require Login to Download', 'woocommerce'),
'desc' => __('Do not allow downloads if a user is not logged in.', 'woocommerce'),
'id' => 'woocommerce_downloads_require_login',
'type' => 'checkbox',
'std' => 'no',
),
array(
'name' => __('Localisation', 'woocommerce'),
'desc' => __('Use informal localisation file if it exists', 'woocommerce'),