PluginProbe
WANotifier for Forms and Actions / 2.6.3
WANotifier for Forms and Actions v2.6.3
3.1.1 3.1.0 3.0.4 2.7.10 2.7.11 2.7.12 2.7.13 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 3.0.0 3.0.1 3.0.2 3.0.3 trunk 0.1.0 0.1.1 1.0.0 1.0.1 1.0.2 All 67 releases
← All changes | includes/classes/integrations/class-notifier-wcar.php +5 -9 3.1.1 → 2.6.3 View file →
@@ -1,9 +1,5 @@
1 1 <?php
2 -if ( ! defined( 'ABSPATH' ) ) {
3 - exit;
4 -}
5 -
6 2 /**
7 3 * WooCommerce Cart Abandonment Recovery
8 4 *
9 5 * @package Wa_Notifier
@@ -24,11 +20,11 @@
24 20 */
25 21 public static function add_notification_triggers ($triggers) {
26 22 $merge_tag_types = array('WooCommerce', 'WooCommerce Cart Abandonment Recovery');
27 23 $recipient_types = array('WooCommerce Cart Abandonment Recovery');
28 - $triggers['Cart Abandonment Recovery for WooCommerce'][] = array(
24 + $triggers['WooCommerce Abondoned Cart Recovery'][] = array(
29 25 'id' => 'woocommerce_cart_abandonment_recovery',
30 - 'label' => 'Cart is abandoned (WCAR)',
26 + 'label' => 'Cart is abandoned',
31 27 'description' => 'Trigger notification when cart is abandoned as per your settings in the plugin.',
32 28 'merge_tags' => Notifier_Notification_Merge_Tags::get_merge_tags($merge_tag_types),
33 29 'recipient_fields' => Notifier_Notification_Merge_Tags::get_recipient_fields($recipient_types),
34 30 'action' => array(
@@ -48,9 +44,9 @@
48 44 public static function wcar_merge_tags($merge_tags) {
49 45 $merge_tags['WooCommerce Cart Abandonment Recovery'] = array(
50 46 array(
51 47 'id' => 'wcar_cart_products_list',
52 - 'label' => 'Abandoned cart products list',
48 + 'label' => 'Adandoned cart products list',
53 49 'preview_value' => '',
54 50 'return_type' => 'text',
55 51 'value' => function ($checkout_details) {
56 52 $value = Cartflows_Ca_Helper::get_instance()->get_comma_separated_products( $checkout_details['cart_contents'] );
@@ -58,9 +54,9 @@
58 54 }
59 55 ),
60 56 array(
61 57 'id' => 'wcar_cart_total',
62 - 'label' => 'Abandoned cart total',
58 + 'label' => 'Adandoned cart total',
63 59 'preview_value' => '',
64 60 'return_type' => 'text',
65 61 'value' => function ($checkout_details) {
66 62 $value = isset($checkout_details['cart_total']) ? $checkout_details['cart_total'] : '';
@@ -68,9 +64,9 @@
68 64 }
69 65 ),
70 66 array(
71 67 'id' => 'wcar_cart_datetime',
72 - 'label' => 'Abandoned cart datetime',
68 + 'label' => 'Adandoned cart datetime',
73 69 'preview_value' => '',
74 70 'return_type' => 'text',
75 71 'value' => function ($checkout_details) {
76 72 $value = isset($checkout_details['time']) ? $checkout_details['time'] : '';