PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 2.5.0
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v2.5.0
2.5.0 2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 All 34 releases
← All changes | app/Hooks/filters.php +5 -3 1.10.02 → 2.5.0 View file →
@@ -1,6 +1,8 @@
1 1 <?php
2 2
3 +defined('ABSPATH') || exit;
4 +
3 5 use FluentBooking\Framework\Support\Arr;
4 6 use FluentBooking\App\Services\CurrenciesHelper;
5 7 use FluentBooking\App\Services\DateTimeHelper;
6 8
@@ -81,9 +83,9 @@
81 83 if (!isset($settings['can_not_cancel'])) {
82 84 $enabled = Arr::get($settings, 'can_cancel') == 'no' ? true : false;
83 85 $settings['can_not_cancel'] = [
84 86 'enabled' => $enabled,
85 - 'message' => 'Sorry! you can not cancel this',
87 + 'message' => 'Sorry! you cannot cancel this',
86 88 'type' => 'always',
87 89 'condition' => [
88 90 'unit' => 'minutes',
89 91 'value' => 30
@@ -94,9 +96,9 @@
94 96 if (!isset($settings['can_not_reschedule'])) {
95 97 $enabled = Arr::get($settings, 'can_reschedule') == 'no' ? true : false;
96 98 $settings['can_not_reschedule'] = [
97 99 'enabled' => $enabled,
98 - 'message' => 'Sorry! you can not reschedule this',
100 + 'message' => 'Sorry! you cannot reschedule this',
99 101 'type' => 'always',
100 102 'condition' => [
101 103 'unit' => 'minutes',
102 104 'value' => 30
@@ -191,5 +193,5 @@
191 193 'status' => false
192 194 ];
193 195 return $methods;
194 196 });
195 -}
197 +}