| 1 |
<?php |
| 2 |
namespace YayMail\Models; |
| 3 |
|
| 4 |
use YayMail\SupportedPlugins; |
| 5 |
|
| 6 |
/** |
| 7 |
* Migration Model |
| 8 |
* |
| 9 |
* @method static MigrationModel get_instance() |
| 10 |
*/ |
| 11 |
class AddonModel { |
| 12 |
|
| 13 |
public static function get_all() { |
| 14 |
$data = [ |
| 15 |
'YayMailAddonConditionalLogic' => [ |
| 16 |
'plugin_name' => 'YayMail Conditional Logic', |
| 17 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/conditional-logic-addon-for-yaymail/', |
| 18 |
'image' => 'https://images.wpbrandy.com/uploads/conditional-logic.png', |
| 19 |
'description' => 'Send WooCommerce custom emails per product. Display custom email content based on conditional logic like <b>all/any & is/is not.</b>', |
| 20 |
'plugin_slug' => 'yaymail-conditional-logic', |
| 21 |
'categories' => [ 'marketing', 'others' ], |
| 22 |
], |
| 23 |
'YayMailAddonWcSubscription' => [ |
| 24 |
'plugin_name' => 'WooCommerce Subscriptions', |
| 25 |
'image' => 'https://images.wpbrandy.com/uploads/woo-subscription.png', |
| 26 |
'template_ids' => self::get_template_ids( |
| 27 |
[ |
| 28 |
'ENR_Email_Customer_Auto_Renewal_Reminder', |
| 29 |
'ENR_Email_Customer_Expiry_Reminder', |
| 30 |
'ENR_Email_Customer_Manual_Renewal_Reminder', |
| 31 |
'ENR_Email_Customer_Processing_Shipping_Fulfilment_Order', |
| 32 |
'ENR_Email_Customer_Shipping_Frequency_Notification', |
| 33 |
'ENR_Email_Customer_Subscription_Price_Updated', |
| 34 |
'ENR_Email_Customer_Trial_Ending_Reminder', |
| 35 |
'WCS_Email_Completed_Renewal_Order', |
| 36 |
'WCS_Email_Cancelled_Subscription', |
| 37 |
'WCS_Email_Completed_Switch_Order', |
| 38 |
'WCS_Email_Customer_Payment_Retry', |
| 39 |
'WCS_Email_Customer_Renewal_Invoice', |
| 40 |
'WCS_Email_Expired_Subscription', |
| 41 |
'WCS_Email_New_Renewal_Order', |
| 42 |
'WCS_Email_New_Switch_Order', |
| 43 |
'WCS_Email_Customer_On_Hold_Renewal_Order', |
| 44 |
'WCS_Email_On_Hold_Subscription', |
| 45 |
'WCS_Email_Payment_Retry', |
| 46 |
'WCS_Email_Processing_Renewal_Order', |
| 47 |
'WCS_Email_Customer_Notification_Auto_Renewal', |
| 48 |
'WCS_Email_Customer_Notification_Auto_Trial_Expiration', |
| 49 |
'WCS_Email_Customer_Notification_Manual_Renewal', |
| 50 |
'WCS_Email_Customer_Notification_Manual_Trial_Expiration', |
| 51 |
'WCS_Email_Customer_Notification_Subscription_Expiration', |
| 52 |
] |
| 53 |
), |
| 54 |
'slug_name' => 'woocommerce-subscriptions', |
| 55 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-subscriptions', |
| 56 |
'is_3rd_party_installed' => class_exists( 'WC_Subscriptions' ), |
| 57 |
'plugin_slug' => 'yaymail-premium-addon-for-woocommerce-subscription', |
| 58 |
'description' => 'Customize <strong>WooCommerce Subscriptions</strong> emails with <strong>YayMail</strong> email builder.', |
| 59 |
'categories' => [ 'subscription' ], |
| 60 |
], |
| 61 |
'YayMailAddonYITHWishlist' => [ |
| 62 |
// yith_wishlist_constructor |
| 63 |
'plugin_name' => 'YITH WooCommerce Wishlist', |
| 64 |
'image' => 'https://images.wpbrandy.com/uploads/yith-wishlist.png', |
| 65 |
'template_ids' => self::get_template_ids( |
| 66 |
[ |
| 67 |
'yith_wcwl_back_in_stock', |
| 68 |
'estimate_mail', |
| 69 |
'yith_wcwl_on_sale_item', |
| 70 |
'yith_wcwl_promotion_mail', |
| 71 |
] |
| 72 |
), |
| 73 |
'slug_name' => 'yith-woocommerce-wishlist-premium', |
| 74 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-woocommerce-wishlist', |
| 75 |
'is_3rd_party_installed' => function_exists( 'yith_wishlist_constructor' ), |
| 76 |
'description' => 'Use YayMail to customize your <strong>YITH WooCommerce Wishlist</strong> email templates.', |
| 77 |
'plugin_slug' => 'yaymail-addon-for-yith-woocommerce-wishlist-premium', |
| 78 |
'categories' => [ 'marketing', 'others' ], |
| 79 |
], |
| 80 |
'YayMailAddonSUMOSubscriptions' => [ |
| 81 |
'plugin_name' => 'SUMO Subscription', |
| 82 |
'template_ids' => self::get_template_ids( |
| 83 |
[ |
| 84 |
'SUMOSubs_Subscription_Auto_Renewal_Reminder_Email', |
| 85 |
'SUMOSubs_Subscription_Auto_Renewal_Success_Email', |
| 86 |
'SUMOSubs_Subscription_Cancelled_Email', |
| 87 |
'SUMOSubs_Subscription_Cancel_Request_Revoked_Email', |
| 88 |
'SUMOSubs_Subscription_Cancel_Request_Submitted_Email', |
| 89 |
'SUMOSubs_Subscription_Order_Completed_Email', |
| 90 |
'SUMOSubs_Subscription_Expired_Email', |
| 91 |
'SUMOSubs_Subscription_Expiry_Reminder_Email', |
| 92 |
'SUMOSubs_Subscription_Invoice_Email', |
| 93 |
'SUMOSubs_Subscription_New_Order_Email', |
| 94 |
'SUMOSubs_Subscription_New_Order_Old_Subscribers_Email', |
| 95 |
'SUMOSubs_Subscription_Paused_Email', |
| 96 |
'SUMOSubs_Subscription_Overdue_Automatic_Email', |
| 97 |
'SUMOSubs_Subscription_Overdue_Manual_Email', |
| 98 |
'SUMOSubs_Subscription_Pending_Authorization_Email', |
| 99 |
'SUMOSubs_Subscription_Order_Processing_Email', |
| 100 |
'SUMOSubs_Subscription_Suspended_Automatic_Email', |
| 101 |
'SUMOSubs_Subscription_Suspended_Manual_Email', |
| 102 |
'SUMOSubs_Subscription_Turnoff_Auto_Payments_Success_Email', |
| 103 |
] |
| 104 |
), |
| 105 |
'slug_name' => 'sumosubscriptions', |
| 106 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-sumo-subscription', |
| 107 |
'is_3rd_party_installed' => class_exists( 'SUMOSubscriptions' ), |
| 108 |
'description' => 'Use YayMail to customize the email templates of <strong>SUMO Subscriptions - WooCommerce Subscription System</strong>.', |
| 109 |
'plugin_slug' => 'yaymail-addon-for-sumo-subscriptions', |
| 110 |
'categories' => [ 'subscription' ], |
| 111 |
], |
| 112 |
'YayMailAddonYITHWooSubscription' => [ |
| 113 |
'plugin_name' => 'YITH WooCommerce Subscription Premium', |
| 114 |
'image' => 'https://images.wpbrandy.com/uploads/yith-subscription.png', |
| 115 |
'template_ids' => self::get_template_ids( |
| 116 |
[ |
| 117 |
'YITH_WC_Customer_Subscription_Before_Expired', |
| 118 |
'YITH_WC_Customer_Subscription_Cancelled', |
| 119 |
'YITH_WC_Customer_Subscription_Expired', |
| 120 |
'YITH_WC_Customer_Subscription_Paused', |
| 121 |
'YITH_WC_Customer_Subscription_Payment_Done', |
| 122 |
'YITH_WC_Customer_Subscription_Payment_Failed', |
| 123 |
'YITH_WC_Customer_Subscription_Request_Payment', |
| 124 |
'YITH_WC_Customer_Subscription_Renew_Reminder', |
| 125 |
'YITH_WC_Customer_Subscription_Resumed', |
| 126 |
'YITH_WC_Subscription_Status', |
| 127 |
'YITH_WC_Customer_Subscription_Suspended', |
| 128 |
] |
| 129 |
), |
| 130 |
'slug_name' => 'yith-woocommerce-subscription-premium', |
| 131 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-woocommerce-subscription', |
| 132 |
'is_3rd_party_installed' => function_exists( 'YITH_WC_Subscription' ), |
| 133 |
'description' => 'HTML email design made simple. Now you can fully customize <strong>YITH WooCommerce Subscription</strong> emails with <strong>YayMail</strong>.', |
| 134 |
'plugin_slug' => 'yaymail-addon-for-yith-subscription', |
| 135 |
'categories' => [ 'subscription' ], |
| 136 |
], |
| 137 |
'YayMailAddonWcB2B' => [ |
| 138 |
'plugin_name' => 'WooCommerce B2B', |
| 139 |
'template_ids' => self::get_template_ids( |
| 140 |
[ |
| 141 |
'WCB2B_Email_Customer_OnQuote_Order', |
| 142 |
'WCB2B_Email_Customer_Quoted_Order', |
| 143 |
'WCB2B_Email_Customer_Status_Notification', |
| 144 |
'WCB2B_Email_New_Quote', |
| 145 |
] |
| 146 |
), |
| 147 |
'slug_name' => 'woocommerce-b2b', |
| 148 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-b2b', |
| 149 |
'is_3rd_party_installed' => class_exists( 'WooCommerceB2B' ), |
| 150 |
'description' => 'Customize your wholesale email templates and grow your business with <strong>WooCommerce B2B</strong>!', |
| 151 |
'plugin_slug' => 'yaymail-addon-for-wc-b2b', |
| 152 |
'categories' => [ 'wholesale' ], |
| 153 |
], |
| 154 |
'YayMailYithVendor' => [ |
| 155 |
'plugin_name' => 'YITH WooCommerce Multi Vendor Premium', |
| 156 |
'image' => 'https://images.wpbrandy.com/uploads/yith-multi-vendor.png', |
| 157 |
'template_ids' => self::get_template_ids( |
| 158 |
[ |
| 159 |
'YITH_WC_Email_Cancelled_Order', |
| 160 |
'YITH_WC_Email_Commissions_Paid', |
| 161 |
'YITH_WC_Email_Commissions_Unpaid', |
| 162 |
'YITH_WC_Email_New_Order', |
| 163 |
'YITH_WC_Email_New_Staff_Member', |
| 164 |
'YITH_WC_Email_New_Vendor_Registration', |
| 165 |
'YITH_WC_Email_Product_Set_In_Pending_Review', |
| 166 |
'YITH_WC_Email_Vendor_Commissions_Bulk_Action', |
| 167 |
'YITH_WC_Email_Vendor_Commissions_Paid', |
| 168 |
'YITH_WC_Email_Vendor_New_Account', |
| 169 |
] |
| 170 |
), |
| 171 |
'slug_name' => 'yith-woocommerce-multi-vendor-premium', |
| 172 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-woocommerce-multi-vendor', |
| 173 |
'is_3rd_party_installed' => function_exists( 'YITH_Vendors' ), |
| 174 |
'description' => 'Fully customize extra email templates sent by <strong>YITH WooCommerce Multi Vendor</strong> using the <strong>YayMail</strong> email designer.', |
| 175 |
'plugin_slug' => 'yaymail-addon-for-yith-woocommerce-multi-vendor', |
| 176 |
], |
| 177 |
'YayMailAddonGermanized' => [ |
| 178 |
'plugin_name' => 'Germanized Pro', |
| 179 |
'template_ids' => self::get_template_ids( |
| 180 |
[ |
| 181 |
'storeabill_documentadmin', |
| 182 |
'storeabill_vendiderogermanizedprostoreabillpackingslipemail', |
| 183 |
'WC_GZD_Email_Customer_Cancelled_Order', |
| 184 |
'WC_GZD_Email_Customer_Guest_Return_Shipment_Request', |
| 185 |
'WC_GZD_Email_Customer_New_Account_Activation', |
| 186 |
'WC_GZD_Email_Customer_Paid_For_Order', |
| 187 |
'storeabill_cancellationinvoice', |
| 188 |
'storeabill_document', |
| 189 |
'storeabill_simpleinvoice', |
| 190 |
'WC_GZD_Email_Customer_Return_Shipment', |
| 191 |
'WC_GZD_Email_Customer_Return_Shipment_Delivered', |
| 192 |
'WC_GZD_Email_Customer_Revocation', |
| 193 |
'WC_GZD_Email_Customer_Shipment', |
| 194 |
'WC_GZD_Email_New_Return_Shipment_Request', |
| 195 |
'oss_woocommerce_deliverythresholdemailnotification', |
| 196 |
'WC_GZD_Email_Customer_SEPA_Direct_Debit_Mandate', |
| 197 |
'WC_STC_Email_Customer_Guest_Return_Shipment_Request', |
| 198 |
'WC_STC_Email_Customer_Return_Shipment', |
| 199 |
'WC_STC_Email_Customer_Return_Shipment_Delivered', |
| 200 |
'WC_STC_Email_Customer_Shipment', |
| 201 |
'WC_STC_Email_New_Return_Shipment_Request', |
| 202 |
|
| 203 |
] |
| 204 |
), |
| 205 |
'slug_name' => 'woocommerce-germanized', |
| 206 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-germanized', |
| 207 |
'is_3rd_party_installed' => class_exists( 'WooCommerce_Germanized' ), |
| 208 |
'description' => 'Use <strong>YayMail</strong> to customize your WooCommerce <strong>Germanized</strong> email templates.', |
| 209 |
'plugin_slug' => 'yaymail-addon-for-germanized', |
| 210 |
'categories' => [ 'shipment', 'order-status', 'others' ], |
| 211 |
], |
| 212 |
'YayMailAddonWcBookings' => [ |
| 213 |
'plugin_name' => 'WooCommerce Bookings', |
| 214 |
'image' => 'https://images.wpbrandy.com/uploads/woo-booking.png', |
| 215 |
'template_ids' => self::get_template_ids( |
| 216 |
[ |
| 217 |
'WC_Email_Admin_Booking_Cancelled', |
| 218 |
'WC_Email_Booking_Cancelled', |
| 219 |
'WC_Email_Booking_Confirmed', |
| 220 |
'WC_Email_Booking_Notification', |
| 221 |
'WC_Email_Booking_Pending_Confirmation', |
| 222 |
'WC_Email_Booking_Reminder', |
| 223 |
'WC_Email_New_Booking', |
| 224 |
] |
| 225 |
), |
| 226 |
'slug_name' => 'woocommerce-bookings', |
| 227 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-bookings', |
| 228 |
'is_3rd_party_installed' => class_exists( 'WC_Bookings' ), |
| 229 |
'description' => 'Start customizing <strong>WooCommerce Bookings</strong> email templates with <strong>YayMail - WooCommerce Email Customizer</strong> today!', |
| 230 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-bookings', |
| 231 |
'categories' => [ 'booking', 'subscription' ], |
| 232 |
], |
| 233 |
'YayMailAddonWcWaitlist' => [ |
| 234 |
'plugin_name' => 'WooCommerce Waitlist', |
| 235 |
'template_ids' => self::get_template_ids( |
| 236 |
[ |
| 237 |
'Pie_WCWL_Waitlist_Joined_Email', |
| 238 |
'Pie_WCWL_Waitlist_Left_Email', |
| 239 |
'Pie_WCWL_Waitlist_Mailout', |
| 240 |
'Pie_WCWL_Waitlist_Signup_Email', |
| 241 |
] |
| 242 |
), |
| 243 |
'slug_name' => 'woocommerce-waitlist', |
| 244 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-waitlist', |
| 245 |
'is_3rd_party_installed' => class_exists( 'WooCommerce_Waitlist_Plugin' ), |
| 246 |
'description' => 'Beautify <strong>WooCommerce Waitlist</strong> emails to lead to a better brand impression. Easy to use and set up using <strong>YayMail Builder</strong>.', |
| 247 |
'plugin_slug' => 'yaymail-addon-for-woo-waitlist', |
| 248 |
'categories' => [ 'others' ], |
| 249 |
], |
| 250 |
'YayMailAddonQuotesForWooCommerce' => [ |
| 251 |
'plugin_name' => 'Quotes for WooCommerce', |
| 252 |
'template_ids' => self::get_template_ids( |
| 253 |
[ |
| 254 |
'QWC_Request_New_Quote', |
| 255 |
'QWC_Request_Sent', |
| 256 |
'QWC_Send_Quote', |
| 257 |
] |
| 258 |
), |
| 259 |
'slug_name' => 'quotes-for-woocommerce', |
| 260 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-quotes-for-woocommerce', |
| 261 |
'is_3rd_party_installed' => class_exists( 'Quotes_WC' ), |
| 262 |
'description' => 'Use YayMail to customize your <strong>Quotes for WooCommerce</strong> email templates (by Pinal Shah).', |
| 263 |
'plugin_slug' => 'yaymail-addon-for-quotes-for-woocommerce', |
| 264 |
'categories' => [ 'wholesale' ], |
| 265 |
], |
| 266 |
'YayMailAddonYITHPreOrder' => [ |
| 267 |
'plugin_name' => 'YITH Pre-Order', |
| 268 |
'image' => 'https://images.wpbrandy.com/uploads/yith-pre-order.png', |
| 269 |
'template_ids' => self::get_template_ids( |
| 270 |
[ |
| 271 |
'YITH_Pre_Order_New_Pre_Order_Email', |
| 272 |
'YITH_Pre_Order_Out_Of_Stock_Email', |
| 273 |
'YITH_Pre_Order_Payment_Reminder_Email', |
| 274 |
'YITH_Pre_Order_Cancelled_Email', |
| 275 |
'YITH_Pre_Order_Completed_Email', |
| 276 |
'YITH_Pre_Order_Confirmed_Email', |
| 277 |
'YITH_Pre_Order_Release_Date_Changed_Email', |
| 278 |
'YITH_Pre_Order_Release_Date_Reminder_Email', |
| 279 |
] |
| 280 |
), |
| 281 |
'slug_name' => 'yith-woocommerce-pre-order-premium', |
| 282 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-woocommerce-pre-order', |
| 283 |
'is_3rd_party_installed' => function_exists( 'yith_ywpo_init' ), |
| 284 |
'description' => 'Use YayMail to customize your <strong>YITH WooCommerce Pre-Order</strong> email templates.', |
| 285 |
'plugin_slug' => 'yaymail-addon-for-yith-pre-order', |
| 286 |
'categories' => [ 'order-status', 'others' ], |
| 287 |
], |
| 288 |
'YayMailAddonWCAppointments' => [ |
| 289 |
'plugin_name' => 'WooCommerce Appointments', |
| 290 |
'template_ids' => self::get_template_ids( |
| 291 |
[ |
| 292 |
'WC_Email_Admin_Appointment_Cancelled', |
| 293 |
'WC_Email_Admin_Appointment_Rescheduled', |
| 294 |
'WC_Email_Admin_New_Appointment', |
| 295 |
'WC_Email_Appointment_Cancelled', |
| 296 |
'WC_Email_Appointment_Confirmed', |
| 297 |
'WC_Email_Appointment_Follow_Up', |
| 298 |
'WC_Email_Appointment_Reminder', |
| 299 |
] |
| 300 |
), |
| 301 |
'slug_name' => 'woocommerce-appointments', |
| 302 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-appointments', |
| 303 |
'is_3rd_party_installed' => class_exists( 'WC_Appointments' ), |
| 304 |
'description' => 'Customize your <strong>WooCommerce Appointments</strong> emails with the <strong>YayMail</strong> email builder.', |
| 305 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-appointments', |
| 306 |
'categories' => [ 'booking' ], |
| 307 |
], |
| 308 |
'YayMailAddonSGWcOrderApproval' => [ |
| 309 |
'plugin_name' => 'SG WooCommerce Order Approval', |
| 310 |
'template_ids' => self::get_template_ids( |
| 311 |
[ |
| 312 |
'Sgitsoa_WC_Admin_Order_New', |
| 313 |
'WC_Admin_Order_New', |
| 314 |
'Sgitsoa_WC_Customer_Order_Approved', |
| 315 |
'WC_Customer_Order_Approved', |
| 316 |
'Sgitsoa_WC_Customer_Order_New', |
| 317 |
'WC_Customer_Order_New', |
| 318 |
'Sgitsoa_WC_Customer_Order_Rejected', |
| 319 |
'WC_Customer_Order_Rejected', |
| 320 |
] |
| 321 |
), |
| 322 |
'slug_name' => 'sg-order-approval-woocommerce-pro', |
| 323 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-sg-woocommerce-order-approval', |
| 324 |
'is_3rd_party_installed' => class_exists( 'Sgitsoa_Order_Approval_Woocommerce_Pro' ) || class_exists( 'Sg_Order_Approval_Woocommerce' ), |
| 325 |
'description' => 'Customize SG WooCommerce <strong>Order Approval</strong> emails in <strong>YayMail</strong> - a drag and drop email builder for WooCommerce.', |
| 326 |
'plugin_slug' => 'yaymail-addon-for-sg-order-approval', |
| 327 |
'categories' => [ 'order-status' ], |
| 328 |
], |
| 329 |
// 'YayMailAddonWFU' => [ |
| 330 |
// 'plugin_name' => 'WooCommerce Follow Up', |
| 331 |
// 'template_ids' => self::get_follow_up_email_ids(), |
| 332 |
// 'slug_name' => 'woocommerce-follow-up-emails', |
| 333 |
// 'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-follow-up-emails', |
| 334 |
// 'is_3rd_party_installed' => function_exists( 'FUE' ), |
| 335 |
// 'plugin_slug' => 'yaymail-addon-for-woocommerce-follow-ups', |
| 336 |
// ], |
| 337 |
'YayMailAddonOrderDeliveryDatePro' => [ |
| 338 |
'plugin_name' => 'Order Delivery Date Pro', |
| 339 |
'image' => 'https://images.wpbrandy.com/uploads/woo-order-delivery.png', |
| 340 |
'template_ids' => self::get_template_ids( |
| 341 |
[ |
| 342 |
'ORDDD_Email_Admin_Delivery_Reminder', |
| 343 |
'ORDDD_Email_Update_Date', |
| 344 |
'ORDDD_Email_Delivery_Reminder', |
| 345 |
'ORDDD_Lite_Email_Update_Date', |
| 346 |
] |
| 347 |
), |
| 348 |
'slug_name' => 'order-delivery-date', |
| 349 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-order-delivery-date', |
| 350 |
'is_3rd_party_installed' => class_exists( 'order_delivery_date' ) || class_exists( 'order_delivery_date_lite' ), |
| 351 |
'categories' => [ 'order-status' ], |
| 352 |
'description' => 'Customize your <strong>Order Delivery Date</strong> emails with the <strong>YayMail</strong> email builder.', |
| 353 |
'plugin_slug' => 'yaymail-addon-for-order-delivery-date', |
| 354 |
], |
| 355 |
'YayMailAddonOrderCancellationEmailToCustomer' => [ |
| 356 |
'plugin_name' => 'Order Cancellation Email to Customer', |
| 357 |
'image' => 'https://images.wpbrandy.com/uploads/order-cancellation-email-to-customer.png', |
| 358 |
'template_ids' => self::get_template_ids( |
| 359 |
[ |
| 360 |
'WC_Email_Cancelled_customer_Order', |
| 361 |
] |
| 362 |
), |
| 363 |
'slug_name' => 'order-cancellation-email-to-customer', |
| 364 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-order-cancellation-email-to-customer', |
| 365 |
'is_3rd_party_installed' => class_exists( 'KA_Custom_WC_Email' ), |
| 366 |
'description' => 'Use YayMail to customize your <strong>Order Cancellation Email to Customer</strong> email templates.', |
| 367 |
'plugin_slug' => 'yaymail-addon-for-order-cancel-customer', |
| 368 |
'categories' => [ 'order-status' ], |
| 369 |
], |
| 370 |
'YayMailAddonWcSmartCoupons' => [ |
| 371 |
'plugin_name' => 'WooCommerce Smart Coupons', |
| 372 |
'image' => 'https://images.wpbrandy.com/uploads/smart-coupons.png', |
| 373 |
'template_ids' => self::get_template_ids( |
| 374 |
[ |
| 375 |
'WC_SC_Combined_Email_Coupon', |
| 376 |
'WC_SC_Acknowledgement_Email', |
| 377 |
'WC_SC_Email_Coupon', |
| 378 |
'WC_SC_Expiry_Reminder_Email', |
| 379 |
] |
| 380 |
), |
| 381 |
'slug_name' => 'woocommerce-smart-coupons', |
| 382 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-smart-coupons', |
| 383 |
'is_3rd_party_installed' => class_exists( 'WC_Smart_Coupons' ), |
| 384 |
'description' => 'Are you using <strong>Smart Coupons</strong> by StoreApps? Start sending discounts, coupons, credits, gift cards, product giveaways, and promotions via customized emails.', |
| 385 |
'plugin_slug' => 'yaymail-addon-for-smart-coupons', |
| 386 |
'categories' => [ 'marketing' ], |
| 387 |
], |
| 388 |
'YayMailAddonDokan' => [ |
| 389 |
'plugin_name' => 'Dokan', |
| 390 |
'template_ids' => self::get_template_ids( |
| 391 |
[ |
| 392 |
'Announcement', |
| 393 |
'CanceledRefundVendor', |
| 394 |
'ContactSeller', |
| 395 |
'ConversationNotification', |
| 396 |
'DokanEmailBookingCancelled', |
| 397 |
'Dokan_Email_Booking_New', |
| 398 |
'Dokan_Email_Wholesale_Register', |
| 399 |
'Dokan_Follow_Store_Email', |
| 400 |
'Dokan_Follow_Store_Vendor_Email', |
| 401 |
'Dokan_New_Support_Ticket', |
| 402 |
'DokanNewSupportTicketForAdmin', |
| 403 |
'Dokan_Product_Enquiry_Email', |
| 404 |
'DokanReplyToAdminSupportTicket', |
| 405 |
'Dokan_Reply_To_Store_Support_Ticket', |
| 406 |
'Dokan_Reply_To_User_Support_Ticket', |
| 407 |
'Dokan_Report_Abuse_Admin_Email', |
| 408 |
'Dokan_Rma_Send_Warranty_Request', |
| 409 |
'Dokan_Send_Coupon_Email', |
| 410 |
'Dokan_Staff_New_Order', |
| 411 |
'Dokan_Staff_Password_Update', |
| 412 |
'InvoiceAuthentication', |
| 413 |
'InvoiceEmail', |
| 414 |
'Dokan_Email_New_Product', |
| 415 |
'Dokan_Email_New_Product_Pending', |
| 416 |
'Dokan_Email_New_Seller', |
| 417 |
'Dokan_Email_New_Store_Review', |
| 418 |
'Dokan_Email_Product_Published', |
| 419 |
'Dokan_Email_Refund_Request', |
| 420 |
'Dokan_Email_Refund_Vendor', |
| 421 |
'Dokan_Vendor_Verification_Request_Submission', |
| 422 |
'Dokan_Email_Reverse_Withdrawal_Invoice', |
| 423 |
'Dokan_Email_Shipping_Status', |
| 424 |
'Dokan_Vendor_Verification_Status_Update', |
| 425 |
'Dokan_Email_Admin_Update_Order_Delivery_Time', |
| 426 |
'Dokan_Email_Updated_Product', |
| 427 |
'Dokan_Email_Update_Request_Quote', |
| 428 |
'Dokan_Email_Vendor_Update_Order_Delivery_Time', |
| 429 |
'Dokan_Email_Completed_Order', |
| 430 |
'Dokan_Email_Vendor_Disable', |
| 431 |
'Dokan_Email_Vendor_Enable', |
| 432 |
'Dokan_Email_New_Order', |
| 433 |
'Dokan_Email_Vendor_Product_Review', |
| 434 |
'Dokan_Email_Vendor_Withdraw_Request', |
| 435 |
'Dokan_Email_Withdraw_Approved', |
| 436 |
'Dokan_Email_Withdraw_Cancelled', |
| 437 |
] |
| 438 |
), |
| 439 |
'slug_name' => [ 'dokan-lite', 'dokan-pro' ], |
| 440 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-dokan', |
| 441 |
'is_3rd_party_installed' => class_exists( 'WeDevs_Dokan' ), |
| 442 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>Dokan</strong> WooCommerce Multivendor Marketplace email templates.', |
| 443 |
'plugin_slug' => 'yaymail-addon-for-dokan', |
| 444 |
'categories' => [ 'multivendor' ], |
| 445 |
], |
| 446 |
'YayMailAddonGermanMarket' => [ |
| 447 |
'plugin_name' => 'Woocommerce German Market', |
| 448 |
'template_ids' => [ |
| 449 |
'wgm_confirm_order_email', |
| 450 |
'wgm_double_opt_in_customer_registration', |
| 451 |
'wgm_sepa', |
| 452 |
], |
| 453 |
'slug_name' => 'woocommerce-german-market', |
| 454 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-german-market', |
| 455 |
'is_3rd_party_installed' => class_exists( 'Woocommerce_German_Market' ), |
| 456 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>WooCommerce German Market</strong> email templates.', |
| 457 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-german-market', |
| 458 |
'categories' => [ 'shipment', 'order-status', 'payments', 'others' ], |
| 459 |
], |
| 460 |
'YayMailAddonB2BWholesaleSuite' => [ |
| 461 |
'plugin_name' => 'B2B & Wholesale Suite', |
| 462 |
'template_ids' => self::get_template_ids( |
| 463 |
[ |
| 464 |
'B2bwhs_Your_Account_Approved_Email', |
| 465 |
'B2bwhs_New_Customer_Email', |
| 466 |
'B2bwhs_New_Customer_Requires_Approval_Email', |
| 467 |
'B2bwhs_New_Message_Email', |
| 468 |
'B2bwhs_New_Quote_Email', |
| 469 |
] |
| 470 |
), |
| 471 |
'slug_name' => 'b2b-wholesale-suite', |
| 472 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-b2b-wholesale-suite', |
| 473 |
'is_3rd_party_installed' => class_exists( 'B2bwhs' ), |
| 474 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>B2B & Wholesale Suite</strong> by WebWizards email templates.', |
| 475 |
'plugin_slug' => 'yaymail-addon-for-b2b-wholesale-suite', |
| 476 |
'categories' => [ 'wholesale' ], |
| 477 |
], |
| 478 |
'YayMailAddonWcDeposits' => [ |
| 479 |
'plugin_name' => 'WooCommerce Deposits', |
| 480 |
'image' => 'https://images.wpbrandy.com/uploads/woo-deposits.png', |
| 481 |
'template_ids' => self::get_template_ids( |
| 482 |
[ |
| 483 |
'WC_Deposits_Email_Customer_Deposit_Paid', |
| 484 |
'WC_Deposits_Email_Full_Payment', |
| 485 |
'WC_Deposits_Email_Customer_Partial_Payment_Paid', |
| 486 |
'WC_Deposits_Email_Partial_Payment', |
| 487 |
'WC_Deposits_Email_Customer_Remaining_Reminder', |
| 488 |
] |
| 489 |
), |
| 490 |
'slug_name' => 'woocommerce-deposits', |
| 491 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-deposits', |
| 492 |
'is_3rd_party_installed' => class_exists( '\Webtomizer\WCDP\WC_Deposits' ), |
| 493 |
'description' => 'Customize WooCommerce <strong>Deposits</strong> emails in <strong>YayMail</strong> – a drag and drop email builder for WooCommerce.', |
| 494 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-deposits', |
| 495 |
'categories' => [ 'payments' ], |
| 496 |
], |
| 497 |
'YayMailAddonYITHWooBookingAndAppointment' => [ |
| 498 |
'plugin_name' => 'YITH Booking and Appointment for WooCommerce Premium', |
| 499 |
'image' => 'https://images.wpbrandy.com/uploads/yith-booking-and-appointment.png', |
| 500 |
'template_ids' => self::get_template_ids( |
| 501 |
[ |
| 502 |
'YITH_WCBK_Email_Booking_Status', |
| 503 |
'YITH_WCBK_Email_Admin_New_Booking', |
| 504 |
'YITH_WCBK_Email_Customer_Booking_Note', |
| 505 |
'YITH_WCBK_Email_Customer_Booking_Notification_After_End', |
| 506 |
'YITH_WCBK_Email_Customer_Booking_Notification_After_Start', |
| 507 |
'YITH_WCBK_Email_Customer_Booking_Notification_Before_End', |
| 508 |
'YITH_WCBK_Email_Customer_Booking_Notification_Before_Start', |
| 509 |
'YITH_WCBK_Email_Customer_Cancelled_Booking', |
| 510 |
'YITH_WCBK_Email_Customer_Completed_Booking', |
| 511 |
'YITH_WCBK_Email_Customer_Confirmed_Booking', |
| 512 |
'YITH_WCBK_Email_Customer_New_Booking', |
| 513 |
'YITH_WCBK_Email_Customer_Paid_Booking', |
| 514 |
'YITHEmailCustomerUnconfirmedBooking', |
| 515 |
] |
| 516 |
), |
| 517 |
'slug_name' => 'yith-woocommerce-booking-premium', |
| 518 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-booking-and-appointment-for-woocommerce', |
| 519 |
'is_3rd_party_installed' => function_exists( 'yith_wcbk_init' ), |
| 520 |
'categories' => [ 'booking' ], |
| 521 |
'plugin_slug' => 'yaymail-addon-for-yith-booking-appointment', |
| 522 |
], |
| 523 |
'YayMailAddonPointsRewards' => [ |
| 524 |
'plugin_name' => 'Points and Rewards for WooCommerce', |
| 525 |
'template_ids' => self::get_template_ids( |
| 526 |
[ |
| 527 |
'wps_wpr_email_notification', |
| 528 |
] |
| 529 |
), |
| 530 |
'slug_name' => 'points-and-rewards-for-woocommerce', |
| 531 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-points-and-rewards-for-woocommerce', |
| 532 |
'is_3rd_party_installed' => class_exists( 'Points_Rewards_For_Woocommerce' ), |
| 533 |
'description' => 'Use YayMail to customize your <strong>Points and Rewards for WooCommerce</strong> email templates.', |
| 534 |
'plugin_slug' => 'yaymail-addon-for-points-rewards', |
| 535 |
'categories' => [ 'payments', 'marketing' ], |
| 536 |
], |
| 537 |
'YayMailAddonWcGiftCards' => [ |
| 538 |
'plugin_name' => 'WooCommerce Gift Cards', |
| 539 |
'image' => 'https://images.wpbrandy.com/uploads/woo-gift-cards.png', |
| 540 |
'template_ids' => self::get_template_ids( |
| 541 |
[ |
| 542 |
'WC_GC_Email_Gift_Card_Received', |
| 543 |
'WC_GC_Email_Gift_Card_Send_To_Buyer', |
| 544 |
'WC_GC_Email_Expiration_Reminder', |
| 545 |
] |
| 546 |
), |
| 547 |
'slug_name' => 'woocommerce-gift-cards', |
| 548 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-gift-cards', |
| 549 |
'is_3rd_party_installed' => class_exists( 'WC_Gift_Cards' ), |
| 550 |
'description' => 'Get this <strong>YayMail Addon</strong> to beautify the <strong>WooCommerce</strong> <strong>Gift Cards</strong> email templates.', |
| 551 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-gift-cards', |
| 552 |
'categories' => [ 'marketing', 'others' ], |
| 553 |
], |
| 554 |
'YayMailAddonPWGC' => [ |
| 555 |
'plugin_name' => 'PW WooCommerce Gift Cards', |
| 556 |
'image' => 'https://images.wpbrandy.com/uploads/woo-gift-cards.png', |
| 557 |
'template_ids' => [ 'pwgc_email' ], |
| 558 |
'slug_name' => 'pw-woocommerce-gift-cards', |
| 559 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-gift-cards', |
| 560 |
'is_3rd_party_installed' => class_exists( 'PW_Gift_Cards' ), |
| 561 |
'description' => 'Customize <strong>PW WooCommerce Gift Cards</strong> emails in YayMail – a drag and drop email builder for WooCommerce. ', |
| 562 |
'plugin_slug' => 'yaymail-addon-for-pw-woocommerce-gift-cards', |
| 563 |
'categories' => [ 'marketing' ], |
| 564 |
], |
| 565 |
'YayMailAddonYITHWooGiftCards' => [ |
| 566 |
'plugin_name' => 'YITH WooCommerce Gift Cards', |
| 567 |
'image' => 'https://images.wpbrandy.com/uploads/yith-gift-cards.png', |
| 568 |
'template_ids' => self::get_template_ids( |
| 569 |
[ |
| 570 |
'ywgc-email-delivered-gift-card', |
| 571 |
'ywgc-email-send-gift-card', |
| 572 |
'ywgc-email-notify-customer', |
| 573 |
] |
| 574 |
), |
| 575 |
'slug_name' => 'yith-woocommerce-gift-cards-premium', |
| 576 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-woocommerce-gift-cards', |
| 577 |
'is_3rd_party_installed' => function_exists( 'YITH_YWGC' ), |
| 578 |
'description' => 'Edit email content and add attractive visuals to <strong>YITH gift cards</strong> emails and delivered gift card notifications.', |
| 579 |
'plugin_slug' => 'yaymail-addon-for-yith-woocommerce-gift-card', |
| 580 |
'categories' => [ 'order-status', 'marketing' ], |
| 581 |
], |
| 582 |
'YayMailAddonYITHWooMembership' => [ |
| 583 |
'plugin_name' => 'YITH WooCommerce Membership', |
| 584 |
'image' => 'https://images.wpbrandy.com/uploads/yith-membership.png', |
| 585 |
'template_ids' => self::get_template_ids( |
| 586 |
[ |
| 587 |
'YITH_WCMBS_Cancelled_Mail', |
| 588 |
'YITH_WCMBS_Expired_Mail', |
| 589 |
'YITH_WCMBS_Expiring_Mail', |
| 590 |
'YITH_WCMBS_Welcome_Mail', |
| 591 |
] |
| 592 |
), |
| 593 |
'slug_name' => 'yith-woocommerce-membership-premium', |
| 594 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-woocommerce-membership', |
| 595 |
'is_3rd_party_installed' => function_exists( 'yith_wcmbs_pr_init' ), |
| 596 |
'description' => 'Beautify <strong>YITH WooCommerce Membership</strong> emails to lead to a better brand impression. Easy to use and set up using YayMail Builder.', |
| 597 |
'plugin_slug' => 'yaymail-addon-yith-woocommerce-membership-premium', |
| 598 |
'categories' => [ 'membership' ], |
| 599 |
], |
| 600 |
'YayMailAddonOrderDeliveryWc' => [ |
| 601 |
'plugin_name' => 'WooCommerce Order Delivery', |
| 602 |
'image' => 'https://images.wpbrandy.com/uploads/woo-order-delivery.png', |
| 603 |
'template_ids' => self::get_template_ids( |
| 604 |
[ |
| 605 |
'WC_OD_Email_Order_Delivery_Note', |
| 606 |
'WC_OD_Email_Subscription_Delivery_Note', |
| 607 |
] |
| 608 |
), |
| 609 |
'slug_name' => 'woocommerce-order-delivery', |
| 610 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-order-delivery-for-woocommerce', |
| 611 |
'is_3rd_party_installed' => class_exists( 'WC_Order_Delivery' ), |
| 612 |
'description' => 'Use YayMail to customize your <strong>WooCommerce Order Delivery Date Pro</strong> email templates.', |
| 613 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-order-delivery', |
| 614 |
|
| 615 |
], |
| 616 |
'YayMailAddonWcSimpleAuctions' => [ |
| 617 |
'plugin_name' => 'WooCommerce Simple Auction', |
| 618 |
'image' => 'https://images.wpbrandy.com/uploads/woo-simple-auctions.png', |
| 619 |
'template_ids' => [ |
| 620 |
'bid_note', |
| 621 |
'auction_buy_now', |
| 622 |
'auction_closing_soon', |
| 623 |
'auction_fail', |
| 624 |
'auction_finished', |
| 625 |
'auction_relist', |
| 626 |
'auction_relist_user', |
| 627 |
'remind_to_pay', |
| 628 |
'auction_win', |
| 629 |
'customer_bid_note', |
| 630 |
'Reserve_fail', |
| 631 |
'outbid_note', |
| 632 |
], |
| 633 |
'slug_name' => 'woocommerce-simple-auctions', |
| 634 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-simple-auction', |
| 635 |
'is_3rd_party_installed' => class_exists( 'WooCommerce_simple_auction' ), |
| 636 |
'description' => 'Simply install this YayMail Addon to design <strong>WooCommerce Simple Auctions</strong> emails in a drag and drop email builder.', |
| 637 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-simple-auction', |
| 638 |
'categories' => [ 'others' ], |
| 639 |
], |
| 640 |
'YayMailAddonWCVendors' => [ |
| 641 |
'plugin_name' => 'WooCommerce Vendors Marketplace', |
| 642 |
'template_ids' => self::get_template_ids( |
| 643 |
[ |
| 644 |
'WCVendors_Admin_Notify_Application', |
| 645 |
'WCVendors_Admin_Notify_Approved', |
| 646 |
'WCVendors_Admin_Notify_Product', |
| 647 |
'WCVendors_Admin_Notify_Shipped', |
| 648 |
'WC_Email_Approve_Vendor', |
| 649 |
'WC_Vendors_Pro_Email_Customer_Mark_Received', |
| 650 |
'WCVendors_Customer_Notify_Shipped', |
| 651 |
'WC_Email_Notify_Admin', |
| 652 |
'WC_Email_Notify_Vendor', |
| 653 |
'WCVendors_Vendor_Notify_Application', |
| 654 |
'WCVendors_Vendor_Notify_Approved', |
| 655 |
'WCVendors_Vendor_Notify_Cancelled_Order', |
| 656 |
'WCVendors_Vendor_Notify_Denied', |
| 657 |
'WCVendors_Vendor_Notify_Order', |
| 658 |
'WC_Email_Notify_Shipped', |
| 659 |
'WC_Vendors_Pro_Email_Vendor_Contact_Widget', |
| 660 |
] |
| 661 |
), |
| 662 |
'slug_name' => [ 'wc-vendors', 'wc-vendors-pro' ], |
| 663 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-wcvendors', |
| 664 |
'is_3rd_party_installed' => class_exists( 'WC_Vendors' ), |
| 665 |
'description' => 'Fully customize extra email templates sent by <strong>WC Vendors Marketplace</strong> using the <strong>YayMail</strong> email designer.', |
| 666 |
'plugin_slug' => 'yaymail-addon-for-wc-vendors', |
| 667 |
'categories' => [ 'multivendor' ], |
| 668 |
], |
| 669 |
'YayMailAddonWcPreOrders' => [ |
| 670 |
'plugin_name' => 'WooCommerce Pre-Orders', |
| 671 |
'image' => 'https://images.wpbrandy.com/uploads/woo-pre-orders.png', |
| 672 |
'template_ids' => self::get_template_ids( |
| 673 |
[ |
| 674 |
'WC_Pre_Orders_Email_Admin_Pre_Order_Cancelled', |
| 675 |
'WC_Pre_Orders_Email_New_Pre_Order', |
| 676 |
'WC_Pre_Orders_Email_Pre_Order_Available', |
| 677 |
'WC_Pre_Orders_Email_Pre_Order_Cancelled', |
| 678 |
'WC_Pre_Orders_Email_Pre_Order_Date_Changed', |
| 679 |
'WC_Pre_Orders_Email_Pre_Ordered', |
| 680 |
] |
| 681 |
), |
| 682 |
'slug_name' => 'woocommerce-pre-orders', |
| 683 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-pre-order', |
| 684 |
'is_3rd_party_installed' => class_exists( 'WC_Pre_Orders' ), |
| 685 |
'description' => 'Are you selling pre-order products using <strong>WooCommerce Pre-Orders</strong>? Download this <strong>YayMail Addon</strong> to customize the email notifications today!', |
| 686 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-pre-orders', |
| 687 |
'categories' => [ 'order-status', 'payments', 'marketing', 'others' ], |
| 688 |
|
| 689 |
], |
| 690 |
'YayMailWooSplitOrders' => [ |
| 691 |
'plugin_name' => 'WooCommerce Split Orders', |
| 692 |
'image' => 'https://images.wpbrandy.com/uploads/woo-split-orders.png', |
| 693 |
'template_ids' => self::get_template_ids( |
| 694 |
[ |
| 695 |
'Customer_Order_Split', |
| 696 |
] |
| 697 |
), |
| 698 |
'slug_name' => 'split-orders', |
| 699 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-split-order', |
| 700 |
'is_3rd_party_installed' => function_exists( 'vibe_split_orders' ), |
| 701 |
'description' => 'Use YayMail to customize your <strong>Split Orders by Vibe Agency</strong> WooCommerce email templates.', |
| 702 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-split-orders', |
| 703 |
'categories' => [ 'shipment', 'order-status', 'others' ], |
| 704 |
], |
| 705 |
'YayMailAddonWPCrowdfunding' => [ |
| 706 |
'plugin_name' => 'WP Crowdfunding Pro', |
| 707 |
'template_ids' => self::get_template_ids( |
| 708 |
[ |
| 709 |
'WPCF_Campaign_Accept', |
| 710 |
'WPCF_Campaign_Submit', |
| 711 |
'WPCF_Campaign_Update', |
| 712 |
'WPCF_New_Backed', |
| 713 |
'WPCF_New_User', |
| 714 |
'WPCF_Target_Reached', |
| 715 |
'WPCF_Withdraw_Request', |
| 716 |
] |
| 717 |
), |
| 718 |
'slug_name' => 'wp-crowdfunding-pro', |
| 719 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-wp-crowdfunding', |
| 720 |
'is_3rd_party_installed' => class_exists( '\WPCF_PRO\Init' ) || class_exists( '\WPCF\Crowdfunding' ), |
| 721 |
'description' => 'Fully customize extra email templates created by <strong>WP Crowdfunding</strong> using the YayMail email designer.', |
| 722 |
'plugin_slug' => 'yaymail-addon-for-wp-crowdfunding', |
| 723 |
'categories' => [ 'others' ], |
| 724 |
], |
| 725 |
'YayMailAddonWcPIP' => [ |
| 726 |
'plugin_name' => 'WC Print Invoices/Packing Lists', |
| 727 |
'template_ids' => self::get_template_ids( |
| 728 |
[ |
| 729 |
'pip_email_invoice', |
| 730 |
'pip_email_packing_list', |
| 731 |
'pip_email_pick_list', |
| 732 |
] |
| 733 |
), |
| 734 |
'slug_name' => 'woocommerce-pip', |
| 735 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-print-invoices-packing-lists', |
| 736 |
'is_3rd_party_installed' => class_exists( 'WC_PIP' ), |
| 737 |
'description' => 'Customize <strong>WooCommerce Print Invoices & Packing Lists</strong> emails with <strong>YayMail</strong> – WooCommerce Email Customizer.', |
| 738 |
'plugin_slug' => 'yaymail-addon-for-print-invoices-packing-lists', |
| 739 |
'categories' => [ 'payments', 'others' ], |
| 740 |
], |
| 741 |
'YayMailAddonLicenseManagerWc' => [ |
| 742 |
'plugin_name' => 'License Manager for WooCommerce', |
| 743 |
'template_ids' => self::get_template_ids( |
| 744 |
[ |
| 745 |
'LMFWC_Customer_Deliver_License_Keys', |
| 746 |
] |
| 747 |
), |
| 748 |
'slug_name' => 'license-manager-for-woocommerce', |
| 749 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-license-manager', |
| 750 |
'is_3rd_party_installed' => class_exists( 'LicenseManagerForWooCommerce\\Main' ), |
| 751 |
'description' => 'Use YayMail to customize email templates sent by <strong>License Manager for WooCommerce</strong>.', |
| 752 |
'plugin_slug' => 'yaymail-addon-for-license-manager-for-wc', |
| 753 |
'categories' => [ 'others' ], |
| 754 |
], |
| 755 |
'YayMailAddonWcAccountFunds' => [ |
| 756 |
'plugin_name' => 'Account Funds', |
| 757 |
'template_ids' => self::get_template_ids( |
| 758 |
[ |
| 759 |
'WC_Account_Funds_Email_Account_Funds_Increase', |
| 760 |
] |
| 761 |
), |
| 762 |
'slug_name' => 'woocommerce-account-funds', |
| 763 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-account-funds', |
| 764 |
'is_3rd_party_installed' => class_exists( 'WC_Account_Funds' ), |
| 765 |
'description' => 'Use YayMail to customize your <strong>Account Funds</strong> email notifications sent by Themesquad.', |
| 766 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-account-funds', |
| 767 |
'categories' => [ 'payments', 'marketing' ], |
| 768 |
], |
| 769 |
'YayMailAddonAutomateWoo' => [ |
| 770 |
'plugin_name' => 'AutomateWoo', |
| 771 |
'image' => 'https://images.wpbrandy.com/uploads/automatewoo.png', |
| 772 |
'template_ids' => self::get_automatewoo_template_ids(), |
| 773 |
'slug_name' => 'automatewoo', |
| 774 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-automatewoo', |
| 775 |
'is_3rd_party_installed' => class_exists( 'AutomateWoo_Loader' ), |
| 776 |
'description' => 'Fully customize extra email templates created by <strong>AutomateWoo</strong> workflows using the <strong>YayMail</strong> email designer.', |
| 777 |
'plugin_slug' => 'yaymail-addon-for-automatewoo', |
| 778 |
'categories' => [ 'marketing' ], |
| 779 |
], |
| 780 |
'YayMailAddonSMFW' => [ |
| 781 |
'plugin_name' => 'ShopMagic', |
| 782 |
'template_ids' => self::get_shopmagic_template_ids(), |
| 783 |
'slug_name' => 'shopmagic-for-woocommerce', |
| 784 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-shopmagic', |
| 785 |
'is_3rd_party_installed' => class_exists( 'WPDesk\ShopMagic\Workflow\Workflow' ), |
| 786 |
'description' => 'Want to boost your conversion rate? Customize follow-up emails & marketing automation with ShopMagic & YayMail Addon!', |
| 787 |
'plugin_slug' => 'yaymail-addon-for-shopmagic', |
| 788 |
'categories' => [ 'booking', 'order-status', 'marketing' ], |
| 789 |
], |
| 790 |
'YayMailAddonWcStripePaymentGateway' => [ |
| 791 |
'plugin_name' => 'WooCommerce Stripe Payment Gateway', |
| 792 |
'image' => 'https://images.wpbrandy.com/uploads/woo-stripe-payment-gateway.png', |
| 793 |
'template_ids' => self::get_template_ids( |
| 794 |
[ |
| 795 |
'WC_Stripe_Email_Failed_Authentication_Retry', |
| 796 |
'WC_Stripe_Email_Failed_Preorder_Authentication', |
| 797 |
'WC_Stripe_Email_Failed_Renewal_Authentication', |
| 798 |
] |
| 799 |
), |
| 800 |
'slug_name' => 'woocommerce-gateway-stripe', |
| 801 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-stripe-payment-gateway', |
| 802 |
'is_3rd_party_installed' => class_exists( 'WC_Stripe' ), |
| 803 |
'description' => 'Use <strong>YayMail</strong> to customize email templates sent by <strong>WooCommerce Stripe Payment Gateway</strong>.', |
| 804 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-stripe-gateway', |
| 805 |
'categories' => [ 'payments' ], |
| 806 |
], |
| 807 |
'YayMailAddonYithStripePremium' => [ |
| 808 |
'plugin_name' => 'YITH WooCommerce Stripe Premium', |
| 809 |
'template_ids' => self::get_template_ids( |
| 810 |
[ |
| 811 |
'YITH_WCStripe_Expiring_Card_Email', |
| 812 |
'YITH_WCStripe_Renew_Needs_Action_Email', |
| 813 |
] |
| 814 |
), |
| 815 |
'slug_name' => 'yith-woocommerce-stripe-premium', |
| 816 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-woocommerce-stripe', |
| 817 |
'is_3rd_party_installed' => function_exists( 'YITH_WCStripe' ), |
| 818 |
'description' => 'Use YayMail to customize your <strong>YITH WooCommerce Stripe</strong> email notifications.', |
| 819 |
'plugin_slug' => 'yaymail-addon-for-yith-woocommerce-stripe', |
| 820 |
'categories' => [ 'payments' ], |
| 821 |
], |
| 822 |
'YayMailAddonWcfmMarketplace' => [ |
| 823 |
'plugin_name' => 'WooCommerce Multivendor Marketplace', |
| 824 |
'template_ids' => self::get_wcfmvm_template_ids(), |
| 825 |
'slug_name' => [ 'wc-multivendor-marketplace', 'wc-frontend-manager', 'wc-multivendor-membership' ], |
| 826 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-wcfm-marketplace', |
| 827 |
'is_3rd_party_installed' => class_exists( 'WCFMmp' ), |
| 828 |
'description' => 'Customize WCFM Multivendor Marketplace emails in YayMail – a drag and drop email builder for WooCommerce.', |
| 829 |
'plugin_slug' => 'yaymail-addon-for-wcfm-marketplace', |
| 830 |
'categories' => [ 'multivendor' ], |
| 831 |
], |
| 832 |
'YayMailAddonWcMemberships' => [ |
| 833 |
'plugin_name' => 'WooCommerce Memberships', |
| 834 |
'image' => 'https://images.wpbrandy.com/uploads/woo-memberships.png', |
| 835 |
'template_ids' => self::get_template_ids( |
| 836 |
[ |
| 837 |
'WC_Memberships_User_Membership_Activated_Email', |
| 838 |
'WC_Memberships_User_Membership_Ended_Email', |
| 839 |
'WC_Memberships_User_Membership_Ending_Soon_Email', |
| 840 |
'WC_Memberships_User_Membership_Note_Email', |
| 841 |
'WC_Memberships_User_Membership_Renewal_Reminder_Email', |
| 842 |
'wc_memberships_for_teams_team_invitation', |
| 843 |
'wc_memberships_for_teams_team_membership_ended', |
| 844 |
'wc_memberships_for_teams_team_membership_ending_soon', |
| 845 |
'wc_memberships_for_teams_team_membership_renewal_reminder', |
| 846 |
] |
| 847 |
), |
| 848 |
'slug_name' => [ 'woocommerce-memberships', 'woocommerce-memberships-for-teams' ], |
| 849 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-woocommerce-memberships', |
| 850 |
'is_3rd_party_installed' => class_exists( 'WC_Memberships' ), |
| 851 |
'description' => 'Customize your <strong>WooCommerce Memberships</strong> emails with the <strong>YayMail</strong> email builder. Sell more services and gain more members.', |
| 852 |
'plugin_slug' => 'yaymail-addon-for-woo-memberships', |
| 853 |
'categories' => [ 'membership' ], |
| 854 |
], |
| 855 |
'YayMailAddonWcTrackShip' => [ |
| 856 |
'plugin_name' => 'TrackShip for WooCommerce', |
| 857 |
'template_ids' => [ |
| 858 |
'trackship_available_for_pickup', |
| 859 |
'trackship_delivered', |
| 860 |
'trackship_exception', |
| 861 |
'trackship_failure', |
| 862 |
'trackship_in_transit', |
| 863 |
'trackship_on_hold', |
| 864 |
'trackship_out_for_delivery', |
| 865 |
'trackship_pickup_reminder', |
| 866 |
'trackship_return_to_sender', |
| 867 |
|
| 868 |
], |
| 869 |
'slug_name' => 'trackship-for-woocommerce', |
| 870 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-trackship-for-woocommerce', |
| 871 |
'is_3rd_party_installed' => class_exists( 'Trackship_For_Woocommerce' ), |
| 872 |
'description' => 'Customize your <strong>TrackShip</strong> post-shipping workflow\'s email templates with YayMail!', |
| 873 |
'plugin_slug' => 'yaymail-addon-for-trackship-woocommerce', |
| 874 |
'categories' => [ 'order-status', 'others' ], |
| 875 |
], |
| 876 |
// // TODO: Hold |
| 877 |
// 'AliDropship_Woo_Plugin' => [ |
| 878 |
// 'plugin_name' => 'AliDropship Woo Plugin', |
| 879 |
// 'image' => 'https://images.wpbrandy.com/uploads/alidropship.png', |
| 880 |
// 'template_ids' => [ |
| 881 |
// 'adsw_order_shipped_notification', |
| 882 |
// 'adsw_order_tracking_changed_notification', |
| 883 |
// 'adsw_update_notification', |
| 884 |
// ], |
| 885 |
// 'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-alidropship-woo-plugin', |
| 886 |
// 'is_3rd_party_installed' => false, |
| 887 |
// 'description' => 'Customize your email templates and grow your business with <strong>AliDropship</strong> - WooCommerce Dropshipping Plugin!', |
| 888 |
// 'plugin_slug' => 'yaymail-addon-alidropship-woo-plugin', |
| 889 |
// 'categories' => [ 'shipment', 'marketing' ], |
| 890 |
// ], |
| 891 |
'YayMailYITHWooReviewDiscountsPremium' => [ |
| 892 |
'plugin_name' => 'YITH WooCommerce Review For Discounts Premium', |
| 893 |
'image' => 'https://images.wpbrandy.com/uploads/yith-review-discounts.png', |
| 894 |
'template_ids' => self::get_template_ids( |
| 895 |
[ |
| 896 |
'YWRFD_Coupon_Mail', |
| 897 |
] |
| 898 |
), |
| 899 |
'slug_name' => 'yith-woocommerce-review-for-discounts-premium', |
| 900 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-yith-review-for-discounts', |
| 901 |
'is_3rd_party_installed' => function_exists( 'YITH_WRFD' ), |
| 902 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>YITH WooCommerce Review for Discounts</strong> email templates.', |
| 903 |
'plugin_slug' => 'yaymail-addon-for-yith-woo-review-for-discounts-premium', |
| 904 |
'categories' => [ 'marketing' ], |
| 905 |
], |
| 906 |
'YayMailAddonSUMOPaymentPlans' => [ |
| 907 |
'plugin_name' => 'SUMO Payment Plans', |
| 908 |
'template_ids' => self::get_template_ids( |
| 909 |
[ |
| 910 |
'SUMO_PP_Deposit_Balance_Payment_Auto_Charge_Reminder_Email', |
| 911 |
'SUMO_PP_Deposit_Balance_Payment_Completed_Email', |
| 912 |
'SUMO_PP_Deposit_Balance_Payment_Invoice_Email', |
| 913 |
'SUMO_PP_Deposit_Balance_Payment_Overdue_Email', |
| 914 |
'SUMO_PP_Payment_Awaiting_Cancel_Email', |
| 915 |
'SUMO_PP_Payment_Cancelled_Email', |
| 916 |
'SUMO_PP_Payment_Pending_Auth_Email', |
| 917 |
'SUMO_PP_Payment_Plan_Auto_Charge_Reminder_Email', |
| 918 |
'SUMO_PP_Payment_Plan_Completed_Email', |
| 919 |
'SUMO_PP_Payment_Plan_Invoice_Email', |
| 920 |
'SUMO_PP_Payment_Plan_Overdue_Email', |
| 921 |
'SUMO_PP_Payment_Plan_Success_Email', |
| 922 |
'SUMO_PP_Payment_Schedule_Email', |
| 923 |
] |
| 924 |
), |
| 925 |
'slug_name' => 'sumopaymentplans', |
| 926 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-premium-addon-for-sumo-payment-plans', |
| 927 |
'is_3rd_party_installed' => class_exists( 'SUMOPaymentPlans' ), |
| 928 |
'description' => 'Fully customize extra email templates sent by <strong>SUMO WooCommerce Payment Plans</strong> – Deposits, Down Payments, Installments, Variable Payments using the YayMail email designer.', |
| 929 |
'plugin_slug' => 'yaymail-addon-for-sumo-payment-plans', |
| 930 |
'categories' => [ 'payments' ], |
| 931 |
], |
| 932 |
'YayMailAddonWcTeraWallet' => [ |
| 933 |
'plugin_name' => 'TeraWallet', |
| 934 |
'template_ids' => self::get_template_ids( |
| 935 |
[ |
| 936 |
'Woo_Wallet_Email_Low_Wallet_Balance', |
| 937 |
'Woo_Wallet_Email_New_Transaction', |
| 938 |
'WOO_Wallet_Withdrawal_Approved', |
| 939 |
'WOO_Wallet_Withdrawal_Reject', |
| 940 |
'WOO_Wallet_Withdrawal_Request', |
| 941 |
] |
| 942 |
), |
| 943 |
'slug_name' => 'woo-wallet', |
| 944 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-terawallet', |
| 945 |
'is_3rd_party_installed' => class_exists( 'WooWallet' ) || class_exists( 'Woo_Wallet' ), |
| 946 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>TeraWallet</strong> WooCommerce email templates.', |
| 947 |
'plugin_slug' => 'yaymail-addon-for-terawallet', |
| 948 |
'categories' => [ 'payments', 'others' ], |
| 949 |
], |
| 950 |
// TODO |
| 951 |
// 'CustomFieldsforWooCommerce' => [ |
| 952 |
// 'plugin_name' => 'Custom Fields for WooCommerce by Addify', |
| 953 |
// 'template_ids' => [ |
| 954 |
// 'af_email_admin_register_new_user', |
| 955 |
// 'af_email_approve_user_account', |
| 956 |
// 'af_email_declined_user_account', |
| 957 |
// 'af_email_register_new_account', |
| 958 |
// ], |
| 959 |
// 'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-custom-fields-by-addify', |
| 960 |
// 'description' => 'Use <strong>YayMail</strong> to customize your <strong>Custom Fields</strong> by Addify email templates.', |
| 961 |
// 'plugin_slug' => 'yaymail-addon-for-custom-fields-addify', |
| 962 |
// 'categories' => [ 'others' ], |
| 963 |
// ], |
| 964 |
'YayMailAddonMultiLocationInventory' => [ |
| 965 |
'plugin_name' => 'WooCommerce MultiLocation Inventory & Order Routing', |
| 966 |
'template_ids' => self::get_template_ids( |
| 967 |
[ |
| 968 |
'WC_Wh_New_Order_Email', |
| 969 |
'WC_Wh_Reassign_Order_Email', |
| 970 |
] |
| 971 |
), |
| 972 |
'slug_name' => 'myworks-warehouse-routing', |
| 973 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-multi-warehouse-order-routing', |
| 974 |
'is_3rd_party_installed' => class_exists( 'MW_WHDependencies' ), |
| 975 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>WooCommerce Multi Warehouse & Order Routing</strong> email templates by woocommercewarehouses.com', |
| 976 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-multilocation-inventory-order-routing', |
| 977 |
'categories' => [ 'shipment', 'order-status' ], |
| 978 |
], |
| 979 |
'YayMailAddonMultiVendorX' => [ |
| 980 |
'plugin_name' => 'MultiVendorX - The Ultimate WooCommerce Multivendor Marketplace Solution', |
| 981 |
'template_ids' => self::get_template_ids( |
| 982 |
[ |
| 983 |
'WC_Email_Admin_Added_New_Product_to_Vendor', |
| 984 |
'WC_Email_Admin_Change_Order_Status', |
| 985 |
'WC_Email_Admin_New_Question', |
| 986 |
'WC_Email_Admin_New_Vendor_Account', |
| 987 |
'WC_Email_Admin_Widthdrawal_Request', |
| 988 |
'WC_Email_Approved_New_Vendor_Account', |
| 989 |
'WC_Email_Customer_Refund_Request', |
| 990 |
'WC_Email_Customer_Answer', |
| 991 |
'WC_Email_Vendor_New_Coupon_Added', |
| 992 |
'WC_Email_Plugin_Deactivated_Mail', |
| 993 |
'WC_Email_Rejected_New_Vendor_Account', |
| 994 |
'WC_Email_Send_Report_Abuse', |
| 995 |
'WC_Email_Send_Site_Information', |
| 996 |
'WC_Email_Suspend_Vendor_Account', |
| 997 |
'WC_Email_Admin_Vendor_Account_Deactivation_Request_Mail', |
| 998 |
'WC_Email_Vendor_Account_Deactive_Request_Reject_Mail', |
| 999 |
'WC_Email_Vendor_Account_Deletion_Mail', |
| 1000 |
'WC_Email_Vendor_DirectBank_Commission_Transactions', |
| 1001 |
'WC_Email_Vendor_Cancelled_Order', |
| 1002 |
'WC_Email_Vendor_Direct_Bank', |
| 1003 |
'WC_Email_Vendor_Contact_Widget', |
| 1004 |
'WC_Email_Vendor_Followed', |
| 1005 |
'WC_Email_Vendor_Followed_Customer', |
| 1006 |
'WC_Email_Vendor_New_Account', |
| 1007 |
'WC_Email_Vendor_New_Announcement', |
| 1008 |
'WC_Email_Vendor_New_Coupon_Added_To_Customer', |
| 1009 |
'WC_Email_Vendor_New_Order', |
| 1010 |
'WC_Email_Vendor_New_Product_Added', |
| 1011 |
'WC_Email_Vendor_New_Question', |
| 1012 |
'WC_Email_Notify_Shipped', |
| 1013 |
'WC_Email_Vendor_Orders_Stats_Report', |
| 1014 |
'WC_Email_Vendor_Product_Approved', |
| 1015 |
'WC_Email_Vendor_Product_Rejected', |
| 1016 |
'WC_Email_Vendor_Review', |
| 1017 |
'WC_Email_Vendor_Commission_Transactions', |
| 1018 |
] |
| 1019 |
), |
| 1020 |
'slug_name' => [ 'dc-woocommerce-multi-vendor', 'mvx-pro' ], |
| 1021 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-wc-marketplace', |
| 1022 |
'is_3rd_party_installed' => class_exists( 'WC_Dependencies_Product_Vendor' ), |
| 1023 |
'description' => 'Use YayMail to customize your <strong>MultiVendorX</strong> email templates of MultiVendor Marketplace Solution For WooCommerce (formerly known as WCMp by WC Marketplace).', |
| 1024 |
'plugin_slug' => 'yaymail-addon-for-multivendor-marketplace-solution', |
| 1025 |
'categories' => [ 'multivendor' ], |
| 1026 |
], |
| 1027 |
'YayMailAddonAffiliateWc' => [ |
| 1028 |
'plugin_name' => 'Affiliate For WooCommerce', |
| 1029 |
'template_ids' => self::get_template_ids( |
| 1030 |
[ |
| 1031 |
'AFWC_Email_Affiliate_Pending_Request', |
| 1032 |
'AFWC_Email_Affiliate_Summary_Reports', |
| 1033 |
'AFWC_Email_Automatic_Payouts_Reminder', |
| 1034 |
'AFWC_Email_Commission_Paid', |
| 1035 |
'AFWC_Email_New_Conversion_Received', |
| 1036 |
'AFWC_Email_New_Registration_Received', |
| 1037 |
'AFWC_Email_Welcome_Affiliate', |
| 1038 |
] |
| 1039 |
), |
| 1040 |
'slug_name' => 'affiliate-for-woocommerce', |
| 1041 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-affiliate-for-woocommerce', |
| 1042 |
'is_3rd_party_installed' => class_exists( 'Affiliate_For_WooCommerce' ), |
| 1043 |
'description' => 'Customize affiliate email templates to run a successful affiliate program with <strong>YayMail</strong> for WooCommerce.', |
| 1044 |
'plugin_slug' => 'yaymail-addon-for-affiliate-for-woocommerce', |
| 1045 |
'categories' => [ 'marketing' ], |
| 1046 |
], |
| 1047 |
'YayMailAddonWooProductVendors' => [ |
| 1048 |
'plugin_name' => 'WooCommerce Product Vendors', |
| 1049 |
'image' => 'https://images.wpbrandy.com/uploads/woo-product-vendors.png', |
| 1050 |
'template_ids' => self::get_template_ids( |
| 1051 |
[ |
| 1052 |
'WC_Product_Vendors_Approval', |
| 1053 |
'WC_Product_Vendors_Cancelled_Order_Email_To_Vendor', |
| 1054 |
'WC_Product_Vendors_New_Renewal_Email_To_Vendor', |
| 1055 |
'WC_Product_Vendors_Order_Email_To_Vendor', |
| 1056 |
'WC_Product_Vendors_Order_Fulfill_Status_To_Admin', |
| 1057 |
'WC_Product_Vendors_Order_Note_To_Customer', |
| 1058 |
'WC_Product_Vendors_Product_Added_Notice', |
| 1059 |
'WC_Product_Vendors_Registration_Email_To_Admin', |
| 1060 |
'WC_Product_Vendors_Registration_Email_To_Vendor', |
| 1061 |
] |
| 1062 |
), |
| 1063 |
'slug_name' => 'woocommerce-product-vendors', |
| 1064 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-product-vendors', |
| 1065 |
'is_3rd_party_installed' => class_exists( 'WC_Product_Vendors' ), |
| 1066 |
'description' => 'Use YayMail to customize your <strong>WooCommerce Product Vendors</strong> email templates.', |
| 1067 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-product-vendors', |
| 1068 |
'categories' => [ 'multivendor' ], |
| 1069 |
], |
| 1070 |
'YayMailAddonBISN' => [ |
| 1071 |
'plugin_name' => 'WooCommerce Back In Stock Notifications', |
| 1072 |
'image' => 'https://images.wpbrandy.com/uploads/back-in-stock-notifications.png', |
| 1073 |
'template_ids' => self::get_template_ids( |
| 1074 |
[ |
| 1075 |
'WC_BIS_Email_Notification_Confirm', |
| 1076 |
'WC_BIS_Email_Notification_Received', |
| 1077 |
'WC_BIS_Email_Notification_Verify', |
| 1078 |
] |
| 1079 |
), |
| 1080 |
'slug_name' => 'woocommerce-back-in-stock-notifications', |
| 1081 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-back-in-stock-notifications', |
| 1082 |
'is_3rd_party_installed' => class_exists( 'WC_Back_In_Stock' ), |
| 1083 |
'description' => 'Use <strong>YayMail</strong> to customize the email templates sent by <strong>Back In Stock Notifications</strong> (by WooCommerce).', |
| 1084 |
'plugin_slug' => 'yaymail-addon-for-woo-back-in-stock-notifications', |
| 1085 |
'categories' => [ 'order-status', 'others' ], |
| 1086 |
], |
| 1087 |
'YayMailAddonWcReturnWarranty' => [ |
| 1088 |
'plugin_name' => 'WooCommerce Return and Warranty Pro', |
| 1089 |
'image' => 'https://images.wpbrandy.com/uploads/woo-returns-and-warranty-requests.png', |
| 1090 |
'template_ids' => self::get_template_ids( |
| 1091 |
[ |
| 1092 |
'WCRW_Send_Coupon_Email', |
| 1093 |
'WCRW_Send_Message_Email', |
| 1094 |
'WCRW_Cancel_Order_Request', |
| 1095 |
'WCRW_Create_Request_Admin', |
| 1096 |
'WCRW_Create_Request_Customer', |
| 1097 |
'WCRW_Update_Request', |
| 1098 |
] |
| 1099 |
), |
| 1100 |
'slug_name' => [ 'wc-return-warranty', 'wc-return-warranty-pro' ], |
| 1101 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-return-and-warranty', |
| 1102 |
'is_3rd_party_installed' => class_exists( 'WC_Return_Warranty' ) || class_exists( 'WC_Return_Warranty_Pro' ), |
| 1103 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>WooCommerce Return and Warranty</strong> email templates (by chilidevs).', |
| 1104 |
'plugin_slug' => 'yaymail-addon-for-woo-return-warranty-pro', |
| 1105 |
'categories' => [ 'order-status', 'payments', 'others' ], |
| 1106 |
], |
| 1107 |
'YayMailAddonB2BKing' => [ |
| 1108 |
'plugin_name' => 'B2BKing', |
| 1109 |
'image' => 'https://images.wpbrandy.com/uploads/b2bking.png', |
| 1110 |
'template_ids' => self::get_template_ids( |
| 1111 |
[ |
| 1112 |
'B2bking_New_Customer_Email', |
| 1113 |
'B2bking_New_Customer_Requires_Approval_Email', |
| 1114 |
'B2bking_New_Message_Email', |
| 1115 |
'B2bking_New_Offer_Email', |
| 1116 |
'B2bking_Your_Account_Approved_Email', |
| 1117 |
] |
| 1118 |
), |
| 1119 |
'slug_name' => 'b2bking', |
| 1120 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-b2bking', |
| 1121 |
'is_3rd_party_installed' => class_exists( 'B2bking' ), |
| 1122 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>B2BKing</strong> (by WebWizards) email templates.', |
| 1123 |
'plugin_slug' => 'yaymail-addon-for-b2bking', |
| 1124 |
'categories' => [ 'wholesale' ], |
| 1125 |
], |
| 1126 |
// Hold |
| 1127 |
// 'Domina_Shipping' => [ |
| 1128 |
// 'plugin_name' => 'Domina Shipping', |
| 1129 |
// 'template_ids' => [ |
| 1130 |
// 'Domina_Email_Tracking', |
| 1131 |
// ], |
| 1132 |
// 'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-domina-shipping', |
| 1133 |
// 'is_3rd_party_installed' => class_exists( 'Domina' ), |
| 1134 |
// 'description' => 'Email Customizer for Domina Shipping of Departamentos y Ciudades de Colombia para WooCommerce.', |
| 1135 |
// 'plugin_slug' => 'yaymail-addon-domina-shipping', |
| 1136 |
// ], |
| 1137 |
'YayMailAddonYITHWooDeliveryDate' => [ |
| 1138 |
'plugin_name' => 'YITH WooCommerce Delivery Date Premium', |
| 1139 |
'image' => 'https://images.wpbrandy.com/uploads/yith-delivery-date.png', |
| 1140 |
'template_ids' => self::get_template_ids( |
| 1141 |
[ |
| 1142 |
'YITH_Delivery_Date_Advise_Customer_Email', |
| 1143 |
] |
| 1144 |
), |
| 1145 |
'slug_name' => 'yith-woocommerce-delivery-date-premium', |
| 1146 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-woocommerce-delivery-date', |
| 1147 |
'is_3rd_party_installed' => function_exists( 'yith_delivery_date_init_plugin' ), |
| 1148 |
'description' => 'Edit email content and add attractive visuals to <strong>YITH WooCommerce Delivery Date</strong> emails with YayMail - WooCommerce Email Customizer.', |
| 1149 |
'plugin_slug' => 'yaymail-addon-for-yith-woo-delivery-date', |
| 1150 |
], |
| 1151 |
'YayMailAddonYITHAdvancedRefundSystem' => [ |
| 1152 |
'plugin_name' => 'YITH Advanced Refund System for WooCommerce Premium', |
| 1153 |
'image' => 'https://images.wpbrandy.com/uploads/yith-advanced-refund-system.png', |
| 1154 |
'template_ids' => self::get_template_ids( |
| 1155 |
[ |
| 1156 |
'YITH_ARS_Coupon_User_Email', |
| 1157 |
'YITH_ARS_New_Message_Admin_Email', |
| 1158 |
'YITH_ARS_New_Message_User_Email', |
| 1159 |
'YITH_ARS_New_Request_Admin_Email', |
| 1160 |
'YITH_ARS_New_Request_User_Email', |
| 1161 |
'YITH_ARS_Approved_User_Email', |
| 1162 |
'YITH_ARS_On_Hold_User_Email', |
| 1163 |
'YITH_ARS_Processing_User_Email', |
| 1164 |
'YITH_ARS_Rejected_User_Email', |
| 1165 |
] |
| 1166 |
), |
| 1167 |
'slug_name' => 'yith-advanced-refund-system-for-woocommerce.premium', |
| 1168 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-advanced-refund-system', |
| 1169 |
'is_3rd_party_installed' => function_exists( 'yith_ywars_init' ), |
| 1170 |
'description' => 'Use YayMail to customize your <strong>YITH Advanced Refund System for WooCommerce</strong> email templates.', |
| 1171 |
'plugin_slug' => 'yaymail-addon-for-yith-advanced-refund-system-for-woocommerce', |
| 1172 |
'categories' => [ 'order-status', 'payments', 'others' ], |
| 1173 |
], |
| 1174 |
'YayMailAddonYITHWooAffiliates' => [ |
| 1175 |
'plugin_name' => 'YITH WooCommerce Affiliates Premium', |
| 1176 |
'image' => 'https://images.wpbrandy.com/uploads/yith-affiliates.png', |
| 1177 |
'template_ids' => self::get_template_ids( |
| 1178 |
[ |
| 1179 |
'YITH_WCAF_admin_affiliate_banned_Email', |
| 1180 |
'YITH_WCAF_admin_affiliate_status_changed_Email', |
| 1181 |
'YITH_WCAF_admin_commission_status_changed_Email', |
| 1182 |
'YITH_WCAF_admin_new_affiliate_Email', |
| 1183 |
'YITH_WCAF_admin_paid_commission_Email', |
| 1184 |
'YITH_WCAF_affiliate_banned_Email', |
| 1185 |
'YITH_WCAF_affiliate_disabled_Email', |
| 1186 |
'YITH_WCAF_affiliate_enabled_Email', |
| 1187 |
'YITH_WCAF_new_affiliate_Email', |
| 1188 |
'YITH_WCAF_new_affiliate_commission_Email', |
| 1189 |
'YITH_WCAF_new_affiliate_coupon_Email', |
| 1190 |
'YITH_WCAF_new_affiliate_payment_Email', |
| 1191 |
] |
| 1192 |
), |
| 1193 |
'slug_name' => 'yith-woocommerce-affiliates-premium', |
| 1194 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-woocommerce-affiliates', |
| 1195 |
'is_3rd_party_installed' => function_exists( 'yith_affiliates_constructor' ), |
| 1196 |
'description' => 'Use <strong>YayMail</strong> to customize your <strong>YITH WooCommerce Affiliates</strong> email templates and grow your store!', |
| 1197 |
'plugin_slug' => 'yaymail-addon-for-yith-woo-affiliates', |
| 1198 |
'categories' => [ 'marketing' ], |
| 1199 |
], |
| 1200 |
'YayMailAddonYITHWooAuctions' => [ |
| 1201 |
'plugin_name' => 'YITH Auctions for WooCommerce Premium', |
| 1202 |
'image' => 'https://images.wpbrandy.com/uploads/yith-auctions.png', |
| 1203 |
'template_ids' => self::get_template_ids( |
| 1204 |
[ |
| 1205 |
'YITH_WCACT_Email_Auction_No_Winner', |
| 1206 |
'YITH_WCACT_Email_Auction_Rescheduled_Admin', |
| 1207 |
'YITH_WCACT_Email_Auction_Winner', |
| 1208 |
'YITH_WCACT_Email_Auction_Winner_Reminder', |
| 1209 |
'YITH_WCACT_Email_Better_Bid', |
| 1210 |
'YITH_WCACT_Email_Closed_Buy_Now', |
| 1211 |
'YITH_WCACT_Email_Delete_Bid', |
| 1212 |
'YITH_WCACT_Email_Delete_Bid_Admin', |
| 1213 |
'YITH_WCACT_Email_End_Auction', |
| 1214 |
'YITH_WCACT_Email_New_Bid', |
| 1215 |
'YITH_WCACT_Email_Not_Reached_Reserve_Price', |
| 1216 |
'YITH_WCACT_Email_Not_Reached_Reserve_Price_Max_Bidder', |
| 1217 |
'YITH_WCACT_Email_Successfully_Bid', |
| 1218 |
'YITH_WCACT_Email_Successfully_Bid_Admin', |
| 1219 |
'YITH_WCACT_Email_Successfully_Follow', |
| 1220 |
'YITH_WCACT_Email_Winner_Admin', |
| 1221 |
'YITH_WCACT_Email_Without_Bid', |
| 1222 |
] |
| 1223 |
), |
| 1224 |
'slug_name' => 'yith-woocommerce-auctions-premium', |
| 1225 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-auctions-for-woocommerce', |
| 1226 |
'is_3rd_party_installed' => function_exists( 'yith_wcact_init_premium' ), |
| 1227 |
'description' => 'Are you using <strong>YITH Auctions for WooCommerce</strong>? Buy this YayMail Addon to customize those auctions emails.', |
| 1228 |
'plugin_slug' => 'yaymail-addon-for-yith-auctions-for-woo', |
| 1229 |
'categories' => [ 'payments', 'marketing' ], |
| 1230 |
], |
| 1231 |
'YayMailAddonRMAReturnRefundExchange' => [ |
| 1232 |
'plugin_name' => 'RMA Return Refund & Exchange for WooCommerce', |
| 1233 |
'template_ids' => self::get_template_ids( |
| 1234 |
[ |
| 1235 |
'wps_rma_cancel_request_email', |
| 1236 |
'wps_rma_exchange_request_accept_email', |
| 1237 |
'wps_rma_exchange_request_cancel_email', |
| 1238 |
'wps_rma_exchange_request_email', |
| 1239 |
'wps_rma_order_messages_email', |
| 1240 |
'wps_rma_refund_email', |
| 1241 |
'wps_rma_refund_request_accept_email', |
| 1242 |
'wps_rma_refund_request_cancel_email', |
| 1243 |
'wps_rma_refund_request_email', |
| 1244 |
'wps_rma_returnship_email', |
| 1245 |
] |
| 1246 |
), |
| 1247 |
'slug_name' => [ 'woo-refund-and-exchange-lite', 'woocommerce-rma-for-return-refund-and-exchange' ], |
| 1248 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-rma-return-refund-and-exchange-for-woocommerce', |
| 1249 |
'is_3rd_party_installed' => function_exists( 'define_woo_refund_and_exchange_lite_constants' ), |
| 1250 |
'description' => 'Use YayMail to customize extra email templates sent by <strong>RMA Return Refund and Exchange for WooCommerce</strong> (by WPSwings).', |
| 1251 |
'plugin_slug' => 'yaymail-addon-for-rma-return-refund-exchange-for-woo', |
| 1252 |
'categories' => [ 'order-status', 'marketing', 'others' ], |
| 1253 |
], |
| 1254 |
'YayMailAddonYITHWooPointsRewards' => [ |
| 1255 |
'plugin_name' => 'YITH WooCommerce Points and Rewards Premium', |
| 1256 |
'image' => 'https://images.wpbrandy.com/uploads/yith-points-and-rewards.png', |
| 1257 |
'template_ids' => self::get_template_ids( |
| 1258 |
[ |
| 1259 |
'YITH_YWPAR_Expiration', |
| 1260 |
'YITH_YWPAR_Update_Points', |
| 1261 |
] |
| 1262 |
), |
| 1263 |
'slug_name' => 'yith-woocommerce-points-and-rewards-premium', |
| 1264 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-points-and-rewards', |
| 1265 |
'is_3rd_party_installed' => function_exists( 'yith_ywpar_premium_constructor' ), |
| 1266 |
'description' => 'Fully customize extra email templates developed by <strong>YITH WooCommerce Points and Rewards</strong> using the <strong>YayMail</strong> email customizer.', |
| 1267 |
'plugin_slug' => 'yaymail-addon-for-yith-woo-points-rewards-premium', |
| 1268 |
], |
| 1269 |
'YayMailAddonWCPDFProductVouchers' => [ |
| 1270 |
'plugin_name' => 'WooCommerce PDF Product Vouchers', |
| 1271 |
'template_ids' => self::get_template_ids( |
| 1272 |
[ |
| 1273 |
'WC_PDF_Product_Vouchers_Email_Voucher_Purchaser', |
| 1274 |
'WC_PDF_Product_Vouchers_Email_Voucher_Recipient', |
| 1275 |
] |
| 1276 |
), |
| 1277 |
'slug_name' => 'woocommerce-pdf-product-vouchers', |
| 1278 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-pdf-product-vouchers', |
| 1279 |
'is_3rd_party_installed' => class_exists( 'WC_PDF_Product_Vouchers' ), |
| 1280 |
'description' => 'Fully customize extra email templates sent by<strong> WooCommerce PDF Product Vouchers</strong> using <strong>YayMail</strong> email designer.', |
| 1281 |
'plugin_slug' => 'yaymail-addon-for-woo-pdf-product-vouchers', |
| 1282 |
], |
| 1283 |
'YayMailAddonYITHWooRequestAQuote' => [ |
| 1284 |
'plugin_name' => 'YITH WooCommerce Request A Quote Premium', |
| 1285 |
'image' => 'https://images.wpbrandy.com/uploads/yith-request-quote.png', |
| 1286 |
'template_ids' => self::get_template_ids( |
| 1287 |
[ |
| 1288 |
'YITH_YWRAQ_Quote_Status', |
| 1289 |
'YITH_YWRAQ_Send_Quote', |
| 1290 |
'YITH_YWRAQ_Send_Quote_Reminder', |
| 1291 |
'YITH_YWRAQ_Send_Quote_Reminder_Accept', |
| 1292 |
'YITH_YWRAQ_Send_Email_Request_Quote', |
| 1293 |
'YITH_YWRAQ_Send_Email_Request_Quote_Customer', |
| 1294 |
] |
| 1295 |
), |
| 1296 |
'slug_name' => 'yith-woocommerce-request-a-quote-premium', |
| 1297 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-woocommerce-request-a-quote', |
| 1298 |
'is_3rd_party_installed' => function_exists( 'yith_ywraq_premium_constructor' ), |
| 1299 |
'description' => 'Fully customize extra email templates created by<strong> YITH WooCommerce Request a Quote</strong> using <strong>YayMail</strong> email designer.', |
| 1300 |
'plugin_slug' => 'yaymail-addon-for-yith-woo-request-a-quote', |
| 1301 |
'categories' => [ 'wholesale', 'others' ], |
| 1302 |
], |
| 1303 |
'YayMailAddonWooSellServices' => [ |
| 1304 |
'plugin_name' => 'Woo Sell Services', |
| 1305 |
'template_ids' => self::get_template_ids( |
| 1306 |
[ |
| 1307 |
'WC_Order_Accepted_Email', |
| 1308 |
'WC_Order_Rejected_Email', |
| 1309 |
'WC_Requirement_Received_Email', |
| 1310 |
'WC_Order_Ready_Email', |
| 1311 |
'WC_Requirement_Order_Email', |
| 1312 |
'WC_Order_Conversation_Email', |
| 1313 |
] |
| 1314 |
), |
| 1315 |
'slug_name' => 'woo-sell-services', |
| 1316 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woo-sell-services', |
| 1317 |
'is_3rd_party_installed' => class_exists( 'Woo_Sell_Services_Main' ), |
| 1318 |
'description' => 'Customize your <strong>Woo Sell Services</strong> email templates with the YayMail email designer.', |
| 1319 |
'plugin_slug' => 'yaymail-addon-for-woo-sell-services', |
| 1320 |
'categories' => [ 'booking', 'subscription', 'multivendor' ], |
| 1321 |
], |
| 1322 |
'YayMailAddonYITHWooRecoverAbandonedCart' => [ |
| 1323 |
'plugin_name' => 'YITH WooCommerce Recover Abandoned Cart Premium', |
| 1324 |
'image' => 'https://images.wpbrandy.com/uploads/yith-recover-abandoned-cart.png', |
| 1325 |
'template_ids' => self::get_template_ids( |
| 1326 |
[ |
| 1327 |
'YITH_YWRAC_Send_Email', |
| 1328 |
'YITH_YWRAC_Send_Email_Recovered_Cart', |
| 1329 |
] |
| 1330 |
), |
| 1331 |
'slug_name' => 'yith-woocommerce-recover-abandoned-cart-premium', |
| 1332 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-woocommerce-recover-abandoned-cart', |
| 1333 |
'is_3rd_party_installed' => function_exists( 'yith_ywrac_premium_constructor' ), |
| 1334 |
'description' => 'Use <strong>YayMail</strong> designer to customize your extra email templates created by <strong>YITH WooCommerce Recover Abandoned Cart</strong>.', |
| 1335 |
'plugin_slug' => 'yaymail-addon-for-yith-woo-recover-abandoned-cart', |
| 1336 |
], |
| 1337 |
'YayMailAddonYITHWooCouponEmailSystem' => [ |
| 1338 |
'plugin_name' => 'YITH WooCommerce Coupon Email System Premium', |
| 1339 |
'template_ids' => [ |
| 1340 |
'YWCES_birthday', |
| 1341 |
'YWCES_first_purchase', |
| 1342 |
'YWCES_last_purchase', |
| 1343 |
'YWCES_product_purchasing', |
| 1344 |
'YWCES_purchases', |
| 1345 |
'YWCES_register', |
| 1346 |
'YWCES_spending', |
| 1347 |
'yith-coupon-email-system', |
| 1348 |
], |
| 1349 |
'slug_name' => 'yith-woocommerce-coupon-email-system-premium', |
| 1350 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-woocommerce-coupon-email-system', |
| 1351 |
'is_3rd_party_installed' => function_exists( 'ywces_init' ), |
| 1352 |
'description' => 'Are you using <strong>YITH WooCommerce Coupon Email System</strong>? Buy this YayMail Addon to customize those coupon notification emails.', |
| 1353 |
'plugin_slug' => 'yaymail-addon-for-yith-woocommerce-coupon-email-system-premium', |
| 1354 |
'categories' => [ 'marketing' ], |
| 1355 |
], |
| 1356 |
'YayMailAddonYITHWooEasyLoginAndRegisterPopup' => [ |
| 1357 |
'plugin_name' => 'YITH Easy Login & Register Popup For WooCommerce', |
| 1358 |
'image' => 'https://images.wpbrandy.com/uploads/yith-easy-login.png', |
| 1359 |
'template_ids' => self::get_template_ids( |
| 1360 |
[ |
| 1361 |
'YITH_WELRP_Customer_Authentication_Code', |
| 1362 |
] |
| 1363 |
), |
| 1364 |
'slug_name' => 'yith-easy-login-register-popup-for-woocommerce', |
| 1365 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-yith-easy-login-register-popup', |
| 1366 |
'is_3rd_party_installed' => function_exists( 'yith_welrp_init' ), |
| 1367 |
'description' => 'Customize extra emails and enhance your sales funnel of <strong>YITH Easy Login & Register Popup</strong>.', |
| 1368 |
'plugin_slug' => 'yaymail-addon-for-yith-easy-login-register-popup', |
| 1369 |
'categories' => [ 'others' ], |
| 1370 |
], |
| 1371 |
'YayMailAddonColissimoShippingMethod' => [ |
| 1372 |
'plugin_name' => 'Colissimo shipping methods for WooCommerce', |
| 1373 |
'template_ids' => self::get_template_ids( |
| 1374 |
[ |
| 1375 |
'LpcInwardLabelGenerationEmail', |
| 1376 |
'LpcOutwardLabelGenerationEmail', |
| 1377 |
] |
| 1378 |
), |
| 1379 |
'slug_name' => 'colissimo-shipping-methods-for-woocommerce', |
| 1380 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-colissimo-shipping-methods', |
| 1381 |
'is_3rd_party_installed' => class_exists( 'LpcInit' ), |
| 1382 |
'description' => 'Customize WooCommerce <strong>Colissimo</strong> emails in <strong>YayMail</strong> – a drag and drop email builder for WooCommerce.', |
| 1383 |
'plugin_slug' => 'yaymail-addon-for-colissimo-shipping-methods-for-woo', |
| 1384 |
'categories' => [ 'shipment' ], |
| 1385 |
], |
| 1386 |
'YayMailAddonParcelPanelOrderTrackingWc' => [ |
| 1387 |
'plugin_name' => 'Parcel Panel Order Tracking for WooCommerce', |
| 1388 |
'template_ids' => self::get_template_ids( |
| 1389 |
[ |
| 1390 |
'WC_Email_Customer_Partial_Shipped_Order', |
| 1391 |
'WC_Email_Customer_PP_Delivered', |
| 1392 |
'WC_Email_Customer_PP_Exception', |
| 1393 |
'WC_Email_Customer_PP_Failed_Attempt', |
| 1394 |
'WC_Email_Customer_PP_In_Transit', |
| 1395 |
'WC_Email_Customer_PP_Out_For_Delivery', |
| 1396 |
] |
| 1397 |
), |
| 1398 |
'slug_name' => 'parcelpanel', |
| 1399 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-parcelpanel-order-tracking-for-woocommerce/', |
| 1400 |
'is_3rd_party_installed' => class_exists( 'ParcelPanel\ParcelPanel' ), |
| 1401 |
'description' => 'Personalize WooCommerce shipment tracking emails to your customers using <strong>YayMail - WooCommerce Email Customizer</strong>!', |
| 1402 |
'plugin_slug' => 'yaymail-addon-for-parcel-panel-order-tracking', |
| 1403 |
'categories' => [ 'shipment' ], |
| 1404 |
], |
| 1405 |
'YayMailAddonWcCartAbandonmentRecovery' => [ |
| 1406 |
'plugin_name' => 'WooCommerce Cart Abandonment Recovery', |
| 1407 |
'template_ids' => self::get_wc_cart_abandonment_recovery_template_ids(), |
| 1408 |
'slug_name' => 'woo-cart-abandonment-recovery', |
| 1409 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woo-cart-abandonment-recovery-cartflows', |
| 1410 |
'is_3rd_party_installed' => class_exists( 'CARTFLOWS_CA_Loader' ), |
| 1411 |
'description' => 'Easily showcase your branding and <strong>personalize email templates</strong> of WooCommerce Cart Abandonment Recovery by CartFlows', |
| 1412 |
'plugin_slug' => 'yaymail-addon-for-wc-cart-abandonment-recovery', |
| 1413 |
'categories' => [ 'marketing' ], |
| 1414 |
], |
| 1415 |
'YayMailAddonB2BMarket' => [ |
| 1416 |
'plugin_name' => 'B2B Market', |
| 1417 |
'template_ids' => [ |
| 1418 |
'new_customer_registration_admin_customer_approval', |
| 1419 |
'new_customer_registration_pending_approval', |
| 1420 |
'new_customer_registration_user_approved', |
| 1421 |
'new_customer_registration_user_denied', |
| 1422 |
'double_opt_in_customer_registration', |
| 1423 |
], |
| 1424 |
'slug_name' => 'b2b-market', |
| 1425 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-b2b-market-marketpress', |
| 1426 |
'is_3rd_party_installed' => class_exists( 'BM' ), |
| 1427 |
'description' => 'Easily add custom header/footer and <strong>personalize email templates</strong> sent by WooCommerce B2B Market (MarketPress).', |
| 1428 |
'plugin_slug' => 'yaymail-addon-for-b2b-market', |
| 1429 |
'categories' => [ 'wholesale' ], |
| 1430 |
], |
| 1431 |
'YayMailAddonWholesaleX' => [ |
| 1432 |
'plugin_name' => 'WholesaleX', |
| 1433 |
'template_ids' => self::get_template_ids( |
| 1434 |
[ |
| 1435 |
'WholesaleX_Admin_New_User_Awating_Approval_Notification_Email', |
| 1436 |
'WholesaleX_Admin_New_User_Notification_Email', |
| 1437 |
'WholesaleX_New_User_Approved_Email', |
| 1438 |
'WholesaleX_New_User_Auto_Approved_Email', |
| 1439 |
'WholesaleX_New_User_Pending_For_Approval_Email', |
| 1440 |
'WholesaleX_New_User_Rejected_Email', |
| 1441 |
'WholesaleX_New_User_Verification_Email', |
| 1442 |
'WholesaleX_New_User_Verified_Email', |
| 1443 |
'WholesaleX_User_Profile_Update_Notification_Email', |
| 1444 |
'WholesaleX_New_Subaccount_Create_Email', |
| 1445 |
'WholesaleX_Subaccount_Order_Approval_Required_Email', |
| 1446 |
'WholesaleX_Subaccount_Order_Approved_Email', |
| 1447 |
'WholesaleX_Subaccount_Order_Pending_Email', |
| 1448 |
'WholesaleX_Subaccount_Order_Placed_Email', |
| 1449 |
'WholesaleX_Subaccount_Order_Reject_Email', |
| 1450 |
] |
| 1451 |
), |
| 1452 |
'slug_name' => 'wholesalex', |
| 1453 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-wholesalex', |
| 1454 |
'is_3rd_party_installed' => function_exists( 'wholesalex_run' ), |
| 1455 |
'description' => 'Customize WooCommerce B2B store order emails from <strong>WholesaleX</strong> with YayMail - WooCommerce Email Customizer.', |
| 1456 |
'plugin_slug' => 'yaymail-addon-for-wholesalex', |
| 1457 |
'categories' => [ 'wholesale' ], |
| 1458 |
], |
| 1459 |
'YayMailAddonWcBookingsAppointments' => [ |
| 1460 |
'plugin_name' => 'WooCommerce Bookings And Appointments by PluginHive', |
| 1461 |
'image' => 'https://images.wpbrandy.com/uploads/woo-booking.png', |
| 1462 |
'template_ids' => self::get_template_ids( |
| 1463 |
[ |
| 1464 |
'Ph_WC_Email_Booking_Cancelled_For_Admin', |
| 1465 |
'Ph_WC_Email_Booking_Waiting_For_Approval', |
| 1466 |
'Ph_WC_Email_Booking_Cancelled', |
| 1467 |
'Ph_WC_Email_Booking_Confirmation', |
| 1468 |
'Ph_WC_Email_Booking_followup', |
| 1469 |
'Ph_WC_Email_Booking_reminder', |
| 1470 |
'Ph_WC_Email_Booking_Requires_Confirmation', |
| 1471 |
] |
| 1472 |
), |
| 1473 |
'slug_name' => 'ph-bookings-appointments-woocommerce-premium-3.4.2', |
| 1474 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-booking-and-appointments-pluginhive', |
| 1475 |
'is_3rd_party_installed' => class_exists( 'phive_booking_initialze_premium' ), |
| 1476 |
'description' => 'Customize new booking emails, booking confirmations, and email reminders sent by <strong>WooCommerce Bookings And Appointments by PluginHive</strong>.', |
| 1477 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-booking-and-appointments-pluginhive', |
| 1478 |
'categories' => [ 'booking' ], |
| 1479 |
], |
| 1480 |
'YayMailAddonWcContactShippingQuote' => [ |
| 1481 |
'plugin_name' => 'WooCommerce Contact for Shipping Quote', |
| 1482 |
'image' => 'https://images.wpbrandy.com/uploads/woo-contact-for-shipping-quote.png', |
| 1483 |
'template_ids' => self::get_template_ids( |
| 1484 |
[ |
| 1485 |
'WCCSQ_Email_Customer_Shipping_Quote_Available', |
| 1486 |
'WCCSQ_Email_Shipping_Quote_Requested', |
| 1487 |
] |
| 1488 |
), |
| 1489 |
'slug_name' => 'woocommerce-contact-for-shipping-quote', |
| 1490 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-contact-for-shipping-quote', |
| 1491 |
'is_3rd_party_installed' => class_exists( '\WooCommerce_Contact_for_Shipping_Quote\WooCommerce_Contact_For_Shipping_Quote' ), |
| 1492 |
'description' => 'Customize shipping quote request notifications. Enhance your branding through emails of <strong>WooCommerce Contact for Shipping Quote</strong>.', |
| 1493 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-contact-for-shipping-quote', |
| 1494 |
'categories' => [ 'shipment', 'wholesale' ], |
| 1495 |
], |
| 1496 |
'YayMailAddonDepositsPartialPayment' => [ |
| 1497 |
'plugin_name' => 'Deposits & Partial Payments for WooCommerce', |
| 1498 |
'image' => 'https://images.wpbrandy.com/uploads/woo-deposits.png', |
| 1499 |
'template_ids' => self::get_template_ids( |
| 1500 |
[ |
| 1501 |
'AWCDP_Email_Deposit_Paid', |
| 1502 |
'AWCDP_Email_Full_Payment', |
| 1503 |
'AWCDP_Email_Partial_Paid', |
| 1504 |
'AWCDP_Email_Partial_Payment', |
| 1505 |
'AWCDP_Email_Payment_Reminder', |
| 1506 |
] |
| 1507 |
), |
| 1508 |
'slug_name' => 'deposits-partial-payments-for-woocommerce-pro', |
| 1509 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woocommerce-deposits-partial-payments-acowebs/', |
| 1510 |
'is_3rd_party_installed' => class_exists( 'AWCDP_Deposits' ), |
| 1511 |
'categories' => [ 'payments' ], |
| 1512 |
'plugin_slug' => 'yaymail-addon-for-woocommerce-deposits-partial-payments-acowebs', |
| 1513 |
], |
| 1514 |
'YayMailAddonMarketKing' => [ |
| 1515 |
'plugin_name' => 'MarketKing Core', |
| 1516 |
'template_ids' => self::get_template_ids( |
| 1517 |
[ |
| 1518 |
'Marketking_New_Announcement_Email', |
| 1519 |
'Marketking_New_Message_Email', |
| 1520 |
'Marketking_New_Payout_Email', |
| 1521 |
'Marketking_New_Product_Requires_Approval_Email', |
| 1522 |
'Marketking_New_Rating_Email', |
| 1523 |
'Marketking_New_Refund_Email', |
| 1524 |
'Marketking_New_Vendor_Requires_Approval_Email', |
| 1525 |
'Marketking_New_Verification_Email', |
| 1526 |
'Marketking_Product_Has_Been_Approved_Email', |
| 1527 |
'Marketking_Your_Account_Approved_Email', |
| 1528 |
] |
| 1529 |
), |
| 1530 |
'slug_name' => [ 'marketking-multivendor-marketplace-for-woocommerce', 'marketking-pro' ], |
| 1531 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-marketking-multivendor-marketplace-plugin', |
| 1532 |
'is_3rd_party_installed' => class_exists( 'Marketkingcore' ), |
| 1533 |
'description' => 'Customize MarketKing emails and enhance your multi-vendor marketplace in WooCommerce.', |
| 1534 |
'plugin_slug' => 'yaymail-addon-for-marketking-multivendor-marketplace-plugin', |
| 1535 |
], |
| 1536 |
'YayMailAddonAddifyRegistrationFields' => [ |
| 1537 |
'plugin_name' => 'Custom User Registration Fields for WooCommerce', |
| 1538 |
'image' => 'https://images.wpbrandy.com/uploads/custom-user-registration-fields-addify.png', |
| 1539 |
'template_ids' => self::get_template_ids( |
| 1540 |
[ |
| 1541 |
'afreg_admin_email_new_user', |
| 1542 |
'afreg_admin_email_update_user', |
| 1543 |
'afreg_approved_user_email_user', |
| 1544 |
'afreg_disapproved_user_email_user', |
| 1545 |
'afreg_pending_user_email_user', |
| 1546 |
'afreg_user_email_new_user', |
| 1547 |
] |
| 1548 |
), |
| 1549 |
'slug_name' => 'user-registration-plugin-for-woocommerce', |
| 1550 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-custom-user-registration-fields-for-woocommerce-by-addify/', |
| 1551 |
'is_3rd_party_installed' => class_exists( 'Addify_Registration_Fields_Addon' ), |
| 1552 |
'description' => 'Customize <strong>Custom User Registration Fields for WooCommerce</strong> emails with <strong>YayMail</strong> email builder.', |
| 1553 |
'plugin_slug' => 'yaymail-addon-for-custom-user-registration-fields-addify', |
| 1554 |
'categories' => [ 'others' ], |
| 1555 |
], |
| 1556 |
'YayMailAddonSalesman' => [ |
| 1557 |
'plugin_name' => 'Salesman (by MarketPress)', |
| 1558 |
'template_ids' => [], |
| 1559 |
'slug_name' => 'salesman', |
| 1560 |
'link_upgrade' => '', |
| 1561 |
'is_3rd_party_installed' => class_exists( 'MarketPress_Salesman' ), |
| 1562 |
'description' => 'Customize <strong>Salesman</strong> emails with <strong>YayMail</strong> email builder.', |
| 1563 |
'plugin_slug' => 'yaymail-addon-for-salesman-by-marketpress', |
| 1564 |
'categories' => [ 'marketing' ], |
| 1565 |
], |
| 1566 |
'YayMailAddonForBlocksy' => [ |
| 1567 |
'plugin_name' => 'YayMail Addon For Blocksy', |
| 1568 |
'template_ids' => self::get_template_ids( |
| 1569 |
[ |
| 1570 |
'BackInStockEmail', |
| 1571 |
'ConfirmSubscriptionEmail', |
| 1572 |
'SubscriptionConfirmedEmail', |
| 1573 |
] |
| 1574 |
), |
| 1575 |
'slug_name' => 'blocksy', |
| 1576 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-blocksy/', |
| 1577 |
'is_3rd_party_installed' => class_exists( 'Blocksy\Plugin' ), |
| 1578 |
'description' => 'Customize <strong>Blocksy</strong> emails with <strong>YayMail</strong> email builder.', |
| 1579 |
'plugin_slug' => 'yaymail-addon-for-blocksy', |
| 1580 |
'categories' => [ 'marketing' ], |
| 1581 |
], |
| 1582 |
'YayMailAddonForWoodmart' => [ |
| 1583 |
'plugin_name' => 'YayMail Addon For WoodMart', |
| 1584 |
'template_ids' => self::get_template_ids( |
| 1585 |
[ |
| 1586 |
'XTS_Email_Wishlist_Back_In_Stock', |
| 1587 |
'XTS_Email_Wishlist_On_Sale_Products', |
| 1588 |
'XTS_Email_Wishlist_Promotional', |
| 1589 |
] |
| 1590 |
), |
| 1591 |
'slug_name' => 'woodmart', |
| 1592 |
'link_upgrade' => 'https://yaycommerce.com/yaymail-addons/yaymail-addon-for-woodmart/', |
| 1593 |
'is_3rd_party_installed' => defined( 'WOODMART_THEME_DIR' ), |
| 1594 |
'description' => 'Customize <strong>WoodMart</strong> emails with <strong>YayMail</strong> email builder.', |
| 1595 |
'plugin_slug' => 'yaymail-addon-for-woodmart', |
| 1596 |
'categories' => [ 'marketing' ], |
| 1597 |
], |
| 1598 |
]; |
| 1599 |
|
| 1600 |
$data = apply_filters( 'yaymail_addon_supported_plugins', $data ); |
| 1601 |
|
| 1602 |
foreach ( array_keys( $data ) as $namespace ) { |
| 1603 |
$data[ $namespace ]['installation_status'] = []; |
| 1604 |
$data[ $namespace ]['installation_status']['is_active'] = function_exists( $namespace . '\init' ) || function_exists( $namespace . '\addon_init' ); |
| 1605 |
} |
| 1606 |
|
| 1607 |
require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; |
| 1608 |
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; |
| 1609 |
require_once ABSPATH . 'wp-admin/includes/class-wp-ajax-upgrader-skin.php'; |
| 1610 |
require_once ABSPATH . 'wp-admin/includes/class-plugin-upgrader.php'; |
| 1611 |
|
| 1612 |
foreach ( $data as $namespace => $addon ) { |
| 1613 |
$data[ $namespace ]['installation_status']['is_installed'] = false; |
| 1614 |
if ( isset( $addon['plugin_slug'] ) ) { |
| 1615 |
$plugin_status = \install_plugin_install_status( |
| 1616 |
[ |
| 1617 |
'slug' => $addon['plugin_slug'], |
| 1618 |
'version' => '', |
| 1619 |
] |
| 1620 |
); |
| 1621 |
$data[ $namespace ]['installation_status']['is_installed'] = $plugin_status['file'] !== false; |
| 1622 |
$data[ $namespace ]['installation_status']['plugin_file'] = $plugin_status['file']; |
| 1623 |
} |
| 1624 |
} |
| 1625 |
return $data; |
| 1626 |
} |
| 1627 |
|
| 1628 |
public static function get_3rd_party_addons() { |
| 1629 |
return array_filter( |
| 1630 |
self::get_all(), |
| 1631 |
function( $addon ) { |
| 1632 |
return isset( $addon['is_3rd_party_installed'] ); |
| 1633 |
} |
| 1634 |
); |
| 1635 |
} |
| 1636 |
|
| 1637 |
public static function get_template_ids( array $template_names ): array { |
| 1638 |
if ( ! function_exists( 'WC' ) || ! class_exists( 'WC_Emails' ) ) { |
| 1639 |
return []; |
| 1640 |
} |
| 1641 |
|
| 1642 |
return array_filter( |
| 1643 |
array_map( |
| 1644 |
function ( $template_name ) { |
| 1645 |
return \WC_Emails::instance()->get_emails()[ $template_name ]->id ?? null; |
| 1646 |
}, |
| 1647 |
$template_names |
| 1648 |
) |
| 1649 |
); |
| 1650 |
} |
| 1651 |
|
| 1652 |
public static function get_follow_up_email_ids() { |
| 1653 |
if ( ! is_callable( 'fue_get_emails' ) ) { |
| 1654 |
return []; |
| 1655 |
} |
| 1656 |
|
| 1657 |
$follow_ups_emails = \fue_get_emails( 'any', [ 'fue-active' ] ); |
| 1658 |
$follow_ups_emails = array_filter( |
| 1659 |
$follow_ups_emails, |
| 1660 |
function ( $email ) { |
| 1661 |
return $email->status === 'fue-active'; |
| 1662 |
} |
| 1663 |
); |
| 1664 |
|
| 1665 |
if ( empty( $follow_ups_emails ) ) { |
| 1666 |
return []; |
| 1667 |
} |
| 1668 |
|
| 1669 |
return array_map( |
| 1670 |
function ( $fue_email ) { |
| 1671 |
return 'follow_up_email_' . $fue_email->id; |
| 1672 |
}, |
| 1673 |
$follow_ups_emails |
| 1674 |
); |
| 1675 |
} |
| 1676 |
|
| 1677 |
public static function get_automatewoo_template_ids() { |
| 1678 |
if ( ! class_exists( 'AutomateWoo\Workflow_Query' ) ) { |
| 1679 |
return []; |
| 1680 |
} |
| 1681 |
|
| 1682 |
$query = new \AutomateWoo\Workflow_Query(); |
| 1683 |
$query->set_return( 'ids' ); |
| 1684 |
$ids = $query->get_results(); |
| 1685 |
|
| 1686 |
if ( empty( $ids ) ) { |
| 1687 |
return []; |
| 1688 |
} |
| 1689 |
|
| 1690 |
$workflows = []; |
| 1691 |
|
| 1692 |
foreach ( $ids as $id ) { |
| 1693 |
$workflow = \AutomateWoo\Workflows\Factory::get( $id ); |
| 1694 |
if ( $workflow ) { |
| 1695 |
$workflows[] = $workflow; |
| 1696 |
} |
| 1697 |
} |
| 1698 |
|
| 1699 |
$template_ids = []; |
| 1700 |
|
| 1701 |
foreach ( $workflows as $workflow ) { |
| 1702 |
$actions = $workflow->get_actions(); |
| 1703 |
foreach ( $actions as $action_index => $action ) { |
| 1704 |
$workflow_id = $workflow->get_id(); |
| 1705 |
$name = 'AutomateWoo_' . $workflow_id; |
| 1706 |
if ( $action_index !== null ) { |
| 1707 |
$name .= '_action_' . $action_index; |
| 1708 |
} |
| 1709 |
$template_ids[] = $name; |
| 1710 |
} |
| 1711 |
} |
| 1712 |
|
| 1713 |
return $template_ids; |
| 1714 |
} |
| 1715 |
|
| 1716 |
public static function get_shopmagic_template_ids() { |
| 1717 |
if ( ! class_exists( 'YayMailAddonSMFW\Emails\EmailsCreation' ) ) { |
| 1718 |
return []; |
| 1719 |
} |
| 1720 |
|
| 1721 |
$emails = \YayMailAddonSMFW\Emails\EmailsCreation::get_instance()->get_emails(); |
| 1722 |
|
| 1723 |
if ( empty( $emails ) ) { |
| 1724 |
return []; |
| 1725 |
} |
| 1726 |
|
| 1727 |
return array_filter( |
| 1728 |
array_map( |
| 1729 |
function ( $email ) { |
| 1730 |
return $email->get_id(); |
| 1731 |
}, |
| 1732 |
$emails |
| 1733 |
) |
| 1734 |
); |
| 1735 |
} |
| 1736 |
|
| 1737 |
public static function get_wcfmvm_template_ids() { |
| 1738 |
if ( ! function_exists( 'get_wcfmvm_emails' ) ) { |
| 1739 |
return []; |
| 1740 |
} |
| 1741 |
$emails = get_wcfmvm_emails(); |
| 1742 |
return array_filter( array_keys( $emails ) ); |
| 1743 |
} |
| 1744 |
|
| 1745 |
public static function get_wc_cart_abandonment_recovery_template_ids() { |
| 1746 |
if ( ! class_exists( 'YayMailAddonWcCartAbandonmentRecovery\EmailCreation' ) ) { |
| 1747 |
return []; |
| 1748 |
} |
| 1749 |
$emails = \YayMailAddonWcCartAbandonmentRecovery\EmailCreation::get_instance()->get_emails(); |
| 1750 |
|
| 1751 |
if ( empty( $emails ) ) { |
| 1752 |
return []; |
| 1753 |
} |
| 1754 |
|
| 1755 |
return array_filter( |
| 1756 |
array_map( |
| 1757 |
function ( $email ) { |
| 1758 |
return $email->get_id(); |
| 1759 |
}, |
| 1760 |
$emails |
| 1761 |
) |
| 1762 |
); |
| 1763 |
} |
| 1764 |
} |
| 1765 |
|