Skip to content

Commit

Permalink
Fix. Integrations. Skip FunnelKit Automations cron worker.
Browse files Browse the repository at this point in the history
  • Loading branch information
svfcode committed Nov 29, 2023
1 parent ac3112d commit 3de985f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/cleantalk-public-validate-skip-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ function skip_for_ct_contact_form_validate()
'91' => apbct_is_plugin_active('envira-gallery/envira-gallery.php') && Server::inUri('wp-json/envira-background/v1/resize-image'),
// woocommerce cfw_validate_email_domain skip
'92' => apbct_is_plugin_active('checkout-for-woocommerce/checkout-for-woocommerce.php') && Server::inUri('wc-ajax=cfw_validate_email_domain'),
// FunnelKit Automations
'93' => (apbct_is_in_uri('/wp-json/autonami/v1/events') && apbct_is_plugin_active('wp-marketing-automations/wp-marketing-automations.php')),
'94' => (apbct_is_in_uri('/wp-json/woofunnels/v1/worker') && apbct_is_plugin_active('wp-marketing-automations/wp-marketing-automations.php')),
);

foreach ( $exclusions as $exclusion_key => $state ) {
Expand Down

0 comments on commit 3de985f

Please sign in to comment.