PluginProbe
WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation / trunk
WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation vtrunk
1.4.48 1.4.47 1.4.46 1.4.45 1.4.44 1.4.43 1.4.42 1.4.41 1.4.40 1.4.39 1.4.38 1.4.37 1.4.36 1.1.2 1.2.0 1.2.1 1.2.2 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 All 64 releases
optin / includes / integrations / base / class-mail-integration.php

class-mail-integration.php in WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation trunk, at includes/integrations/base/class-mail-integration.php

54 lines 970 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php // phpcs:ignore
2 /**
3 * Mail Integration Interface
4 *
5 * @package optin
6 * @subpackage optin/intergrtions
7 */
8
9 namespace OPTN\Includes\Integrations\Base;
10
11 interface MailIntegration {
12
13 /**
14 * Constructor
15 *
16 * @param int $account_id account id.
17 */
18 public function __construct( $account_id );
19
20 /**
21 * Adds a subscribe.
22 *
23 * @param array $data data.
24 * @return bool
25 */
26 public function add_subscriber( $data ): bool;
27
28
29 /**
30 * Add a lead to leads table.
31 *
32 * @param array $data data.
33 * @return void
34 */
35 public function add_lead( $data );
36
37 /**
38 * Gets all the default and custom fields
39 *
40 * @param array $args receive data as array.
41 * @return array
42 */
43 public function get_fields( $args = array() ): array;
44
45
46 /**
47 * Gets all the lists or groups or tags
48 *
49 * @param array $args receive data as array.
50 * @return array
51 */
52 public function get_lists( $args = array() ): array;
53 }
54