| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/www/wp-content/plugins/wpforms-lite/src/Admin/Tools/Importers/ |
Upload File : |
<?php
namespace WPForms\Admin\Tools\Importers;
/**
* Interface WPForms_Importer_Interface to handle common methods for all importers.
*
* @since 1.6.6
*/
interface ImporterInterface {
/**
* Define required properties.
*
* @since 1.6.6
*/
public function init();
/**
* Get ALL THE FORMS.
*
* @since 1.6.6
*/
public function get_forms();
/**
* Get a single form.
*
* @since 1.6.6
*
* @param int $id Form ID.
*/
public function get_form( $id );
/**
* Import a single form using AJAX.
*
* @since 1.6.6
*/
public function import_form();
/**
* Replace 3rd-party form provider tags/shortcodes with our own Smart Tags.
*
* @since 1.6.6
*
* @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 );
}