PluginProbe
Advanced Custom Fields: Extended / 0.8.8.3
Advanced Custom Fields: Extended v0.8.8.3
0.9.2.7 0.9.2.6 0.9.2.5 0.8.6 0.8.6.1 0.8.6.3 0.8.6.5 0.8.6.6 0.8.6.7 0.8.6.8 0.8.6.9 0.8.7 0.8.7.1 0.8.7.2 0.8.7.3 0.8.7.4 0.8.7.5 0.8.7.6 0.8.8 0.8.8.1 0.8.8.10 0.8.8.11 0.8.8.2 0.8.8.3 0.8.8.4 All 92 releases
acf-extended / includes / admin / tools / forms-export.php
forms-export.php
39 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if(!defined('ABSPATH'))
4 exit;
5
6 // Check setting
7 if(!acf_get_setting('acfe/modules/forms'))
8 return;
9
10 if(!class_exists('acfe_dynamic_forms_export')):
11
12 class acfe_dynamic_forms_export extends acfe_module_export{
13
14 function initialize(){
15
16 // vars
17 $this->name = 'acfe_dynamic_forms_export';
18 $this->title = __('Export Forms');
19 $this->description = __('Export Forms');
20 $this->select = __('Select Forms');
21 $this->default_action = 'json';
22 $this->allowed_actions = array('json');
23 $this->instance = acf_get_instance('acfe_dynamic_forms');
24 $this->file = 'form';
25 $this->files = 'forms';
26 $this->messages = array(
27 'not_found' => __('No form available.'),
28 'not_selected' => __('No forms selected'),
29 'success_single' => '1 form exported',
30 'success_multiple' => '%s forms exported',
31 );
32
33 }
34
35 }
36
37 acf_register_admin_tool('acfe_dynamic_forms_export');
38
39 endif;