Skip to content

Commit 47468fc

Browse files
authored
Merge pull request #769 from CleanTalk/integ_wp_booking_cal_av
New. BookingCalendar. New integration with BookingCalendar
2 parents a2d28fe + 657e593 commit 47468fc

21 files changed

Lines changed: 420 additions & 8 deletions

inc/cleantalk-integrations-by-hook.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@
291291
'setting' => 'forms__contact_forms_test',
292292
'ajax' => true
293293
),
294+
'BookingCalendar' => array(
295+
'hook' => [
296+
'WPBC_AJX_BOOKING__CREATE',
297+
],
298+
'setting' => 'forms__contact_forms_test',
299+
'ajax' => true
300+
),
294301
'JobstackThemeRegistration' => array(
295302
'hook' => 'wp_loaded',
296303
'setting' => 'forms__registrations_test',

inc/cleantalk-pluggable.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,13 @@ function apbct_is_skip_request($ajax = false, $ajax_message_obj = array())
14061406
return 'BookingPress service action';
14071407
}
14081408

1409+
if (
1410+
apbct_is_plugin_active('booking/wpdev-booking.php') &&
1411+
(Post::getString('action') === 'WPBC_AJX_BOOKING__CREATE')
1412+
) {
1413+
return 'WP BookingCalendar service action';
1414+
}
1415+
14091416
if (
14101417
(
14111418
apbct_is_plugin_active('pixelyoursite/pixelyoursite.php') ||

js/apbct-public-bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_ext-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_ext-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_int-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_int-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)