PluginProbe
Import WP – CSV & XML Import Export for WordPress / 2.7.5
Import WP – CSV & XML Import Export for WordPress v2.7.5
2.15.1 2.15.0 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 All 144 releases
jc-importer / class / Common / Addon / AddonInterface.php

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

73 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 interface AddonInterface
9 {
10 function get_meta($panel_id);
11
12 /**
13 * @param string $field_name
14 * @param string $field_id
15 * @param string $field_label
16 * @param array $group_args
17 *
18 * @return AddonFieldInterface
19 */
20 // function register_attachment_fields($field_name, $field_id, $field_label = 'Location', $group_args = []);
21
22 /**
23 * @param string $field_name
24 * @param string $field_id
25 * @param array $settings
26 *
27 * @return AddonFieldInterface
28 */
29 // function register_field($field_name, $field_id, $settings = []);
30
31 /**
32 * @param string $name
33 * @param string $id
34 * @param callable $fields
35 * @param array $settings
36 *
37 * @return AddonPanelInterface
38 */
39 function register_panel($name, $id, $fields, $settings = []);
40
41 /**
42 * @param string $name
43 * @param string $id
44 * @param AddonFieldInterface[] $fields
45 *
46 * @return AddonGroupInterface
47 */
48 // function register_group($name, $id, $fields);
49
50 function store_meta($section_id, $object_id, $key, $value);
51
52 /**
53 * @param callable $api
54 * @return void
55 */
56 function register_custom_fields($name, $api);
57
58 /**
59 * @return ImporterModel
60 */
61 function importer_model();
62
63 /**
64 * @return Template
65 */
66 function template();
67
68 /**
69 * @param \Callback $callback
70 */
71 function register_migrations($callback);
72 }
73