| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* The Pro Integration Prompt Class |
| 5 |
*/ |
| 6 |
class WeForms_Pro_Integration_Prompt extends WeForms_Abstract_Integration { |
| 7 |
/** |
| 8 |
* Check if it's a pro field |
| 9 |
* |
| 10 |
* @return bool |
| 11 |
*/ |
| 12 |
public function is_pro() { |
| 13 |
return true; |
| 14 |
} |
| 15 |
} |
| 16 |
|
| 17 |
/** |
| 18 |
* Mailchimp |
| 19 |
*/ |
| 20 |
class WeForms_Pro_Integration_MailChimp extends WeForms_Pro_Integration_Prompt { |
| 21 |
public function __construct() { |
| 22 |
$this->id = 'mailchimp'; |
| 23 |
$this->title = __( 'MailChimp', 'weforms' ); |
| 24 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-mailchimp.svg'; |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
/** |
| 29 |
* Campaign Monitor |
| 30 |
*/ |
| 31 |
class WeForms_Pro_Integration_CM extends WeForms_Pro_Integration_Prompt { |
| 32 |
public function __construct() { |
| 33 |
$this->id = 'campaign-monitor'; |
| 34 |
$this->title = __( 'Campaign Monitor', 'weforms' ); |
| 35 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-campaign-monitor.svg'; |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
/** |
| 40 |
* Constant Contact |
| 41 |
*/ |
| 42 |
class WeForms_Pro_Integration_CC extends WeForms_Pro_Integration_Prompt { |
| 43 |
public function __construct() { |
| 44 |
$this->id = 'constant-contact'; |
| 45 |
$this->title = __( 'Constant Contact', 'weforms' ); |
| 46 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-constant-contact.svg'; |
| 47 |
} |
| 48 |
} |
| 49 |
|
| 50 |
/** |
| 51 |
* AWeber |
| 52 |
*/ |
| 53 |
class WeForms_Pro_Integration_AWeber extends WeForms_Pro_Integration_Prompt { |
| 54 |
public function __construct() { |
| 55 |
$this->id = 'aweber'; |
| 56 |
$this->title = __( 'AWeber', 'weforms' ); |
| 57 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-aweber.svg'; |
| 58 |
} |
| 59 |
} |
| 60 |
|
| 61 |
/** |
| 62 |
* ConvertKit |
| 63 |
*/ |
| 64 |
class WeForms_Pro_Integration_ConvertKit extends WeForms_Pro_Integration_Prompt { |
| 65 |
public function __construct() { |
| 66 |
$this->id = 'convertkit'; |
| 67 |
$this->title = __( 'ConvertKit', 'weforms' ); |
| 68 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-convertkit.svg'; |
| 69 |
} |
| 70 |
} |
| 71 |
|
| 72 |
/** |
| 73 |
* GetResponse |
| 74 |
*/ |
| 75 |
class WeForms_Pro_Integration_GetResponse extends WeForms_Pro_Integration_Prompt { |
| 76 |
public function __construct() { |
| 77 |
$this->id = 'getresponse'; |
| 78 |
$this->title = __( 'GetResponse', 'weforms' ); |
| 79 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-get-response.png'; |
| 80 |
} |
| 81 |
} |
| 82 |
|
| 83 |
/** |
| 84 |
* Google Analytics |
| 85 |
*/ |
| 86 |
class WeForms_Pro_Integration_GoogleAnalytics extends WeForms_Pro_Integration_Prompt { |
| 87 |
public function __construct() { |
| 88 |
$this->id = 'google_analytics'; |
| 89 |
$this->title = __( 'Google Analytics', 'weforms' ); |
| 90 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-google-analytics.svg'; |
| 91 |
} |
| 92 |
} |
| 93 |
|
| 94 |
/** |
| 95 |
* Google Sheets |
| 96 |
*/ |
| 97 |
class WeForms_Pro_Integration_GoogleSheets extends WeForms_Pro_Integration_Prompt { |
| 98 |
public function __construct() { |
| 99 |
$this->id = 'google_sheets'; |
| 100 |
$this->title = __( 'Google Sheets', 'weforms' ); |
| 101 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-google-sheets.svg'; |
| 102 |
} |
| 103 |
} |
| 104 |
|
| 105 |
/** |
| 106 |
* HubSpot |
| 107 |
*/ |
| 108 |
class WeForms_Pro_Integration_HubSpot extends WeForms_Pro_Integration_Prompt { |
| 109 |
public function __construct() { |
| 110 |
$this->id = 'hubspot'; |
| 111 |
$this->title = __( 'HubSpot', 'weforms' ); |
| 112 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-hubspot.svg'; |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
/** |
| 117 |
* SalesForce |
| 118 |
*/ |
| 119 |
class WeForms_Pro_Integration_SalesForce extends WeForms_Pro_Integration_Prompt { |
| 120 |
public function __construct() { |
| 121 |
$this->id = 'salesforce'; |
| 122 |
$this->title = __( 'SalesForce', 'weforms' ); |
| 123 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-salesforce.svg'; |
| 124 |
} |
| 125 |
} |
| 126 |
|
| 127 |
/** |
| 128 |
* Trello |
| 129 |
*/ |
| 130 |
class WeForms_Pro_Integration_Trello extends WeForms_Pro_Integration_Prompt { |
| 131 |
public function __construct() { |
| 132 |
$this->id = 'trello'; |
| 133 |
$this->title = __( 'Trello', 'weforms' ); |
| 134 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-trello.svg'; |
| 135 |
} |
| 136 |
} |
| 137 |
|
| 138 |
/** |
| 139 |
* Zapier |
| 140 |
*/ |
| 141 |
class WeForms_Pro_Integration_Zapier extends WeForms_Pro_Integration_Prompt { |
| 142 |
public function __construct() { |
| 143 |
$this->id = 'zapier'; |
| 144 |
$this->title = __( 'Zapier', 'weforms' ); |
| 145 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-zapier.svg'; |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
/** |
| 150 |
* Zoho |
| 151 |
*/ |
| 152 |
class WeForms_Pro_Integration_Zoho extends WeForms_Pro_Integration_Prompt { |
| 153 |
public function __construct() { |
| 154 |
$this->id = 'zoho'; |
| 155 |
$this->title = __( 'Zoho', 'weforms' ); |
| 156 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-zoho.svg'; |
| 157 |
} |
| 158 |
} |
| 159 |
|