PluginProbe
Booktics – Appointment Booking Calendar for Service Businesses / 1.0.29
Booktics – Appointment Booking Calendar for Service Businesses v1.0.29
1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.22 1.0.21 1.0.20 1.0.19 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.2 1.0.3 All 31 releases
← All changes | core/admin/notification.php +10 -2 1.0.21 → 1.0.29 View file →
@@ -41,8 +41,16 @@
41 41 ->init();
42 42
43 43 add_filter(
44 44 'ens_bt_available_actions', function ( $actions ) {
45 + // Google Meet link generation is gated behind Pro (the pro plugin is what
46 + // adds the enable_google_meet field to the service model), but the tag
47 + // itself is registered here in free. Without this, a free user picks the
48 + // tag, gets an empty value in the email and reads it as a broken feature.
49 + $meet_label = booktics_is_pro_active()
50 + ? __( 'Google Meet URL', 'booktics' )
51 + : __( 'Google Meet URL (Pro)', 'booktics' );
52 +
45 53 $actions = array(
46 54 array(
47 55 'trigger_label' => __( 'Order Created', 'booktics' ),
48 56 'trigger_value' => 'order_created',
@@ -107,9 +115,9 @@
107 115 'value' => 'customer_name',
108 116 'type' => 'string',
109 117 ),
110 118 array(
111 - 'label' => __( 'Google meet Url', 'booktics' ),
119 + 'label' => $meet_label,
112 120 'value' => 'google_meet_url',
113 121 'type' => 'string',
114 122 ),
115 123 array(
@@ -185,9 +193,9 @@
185 193 'value' => 'user_email',
186 194 'type' => 'string',
187 195 ),
188 196 array(
189 - 'label' => __( 'Google Meet URL', 'booktics' ),
197 + 'label' => $meet_label,
190 198 'value' => 'google_meet_url',
191 199 'type' => 'string',
192 200 ),
193 201 array(