-
Notifications
You must be signed in to change notification settings - Fork 0
/
caldera-forms-download-processor.config.php
35 lines (35 loc) · 1.28 KB
/
caldera-forms-download-processor.config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
echo Caldera_Forms_Processor_UI::config_fields(
array(
array(
'id' => 'download_file',
'label' => __('File', 'caldera-forms-download-processor'),
'desc' => __('Full path to file, relative to WordPress upload folder', 'caldera-forms-download-processor'),
'type' => 'text',
'required' => true,
'magic' => false,
),
array(
'id' => 'download_file_timeout',
'label' => __('Timeout', 'caldera-forms-download-processor'),
'desc' => __('Download timeout (in minutes)', 'caldera-forms-download-processor'),
'type' => 'number',
'required' => true,
'magic' => false,
),
array(
'id' => 'download_file_field',
'label' => __('Field id', 'caldera-forms-download-processor'),
'type' => 'text',
'required' => true,
'magic' => false,
),
array(
'id' => 'download_file_token_field',
'label' => __('Field id for token', 'caldera-forms-download-processor'),
'type' => 'text',
'required' => true,
'magic' => false,
),
)
);