PluginProbe
Import WP – CSV & XML Import Export for WordPress / trunk
Import WP – CSV & XML Import Export for WordPress vtrunk
2.14.24 2.14.23 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.9.0 2.9.1 trunk 0.1.6 All 142 releases
jc-importer / class / Common / Addon / AddonInterface.php

AddonInterface.php in Import WP – CSV & XML Import Export for WordPress trunk, at class/Common/Addon/AddonInterface.php

76 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ImportWP\Common\Addon;
4
5 use ImportWP\Common\Importer\Template\Template;
6 use ImportWP\Common\Model\ImporterModel;
7
8 /**
9 * @deprecated 2.14.0
10 */
11 interface AddonInterface
12 {
13 function get_meta($panel_id);
14
15 /**
16 * @param string $field_name
17 * @param string $field_id
18 * @param string $field_label
19 * @param array $group_args
20 *
21 * @return AddonFieldInterface
22 */
23 // function register_attachment_fields($field_name, $field_id, $field_label = 'Location', $group_args = []);
24
25 /**
26 * @param string $field_name
27 * @param string $field_id
28 * @param array $settings
29 *
30 * @return AddonFieldInterface
31 */
32 // function register_field($field_name, $field_id, $settings = []);
33
34 /**
35 * @param string $name
36 * @param string $id
37 * @param callable $fields
38 * @param array $settings
39 *
40 * @return AddonPanelInterface
41 */
42 function register_panel($name, $id, $fields, $settings = []);
43
44 /**
45 * @param string $name
46 * @param string $id
47 * @param AddonFieldInterface[] $fields
48 *
49 * @return AddonGroupInterface
50 */
51 // function register_group($name, $id, $fields);
52
53 function store_meta($section_id, $object_id, $key, $value);
54
55 /**
56 * @param callable $api
57 * @return void
58 */
59 function register_custom_fields($name, $api);
60
61 /**
62 * @return ImporterModel
63 */
64 function importer_model();
65
66 /**
67 * @return Template
68 */
69 function template();
70
71 /**
72 * @param \Callback $callback
73 */
74 function register_migrations($callback);
75 }
76