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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<?php /** * Interface WPForms_Importer_Interface to handle common methods for all importers. * * @since 1.4.2 */ interface WPForms_Importer_Interface {
/** * Define required properties. * * @since 1.4.2 */ public function init();
/** * Get ALL THE FORMS. * * @since 1.4.2 */ public function get_forms();
/** * Get a single form. * * @since 1.4.2 * * @param int $id Form ID. */ public function get_form( $id );
/** * Import a single form using AJAX. * * @since 1.4.2 */ public function import_form();
/** * Replace 3rd-party form provider tags/shortcodes with our own Smart Tags. * * @since 1.4.2 * * @param string $string Text to look for Smart Tags in. * @param array $fields List of fields to process Smart Tags in. * * @return string */ public function get_smarttags( $string, $fields ); }
|