• Resolved markofapproval

    (@markofapproval)


    Hi,

    It there a developer hook or filter to disable the integration with Gravity forms? I would like to know so I can disable the integration under a specific condition.

    Best regards,
    Mark.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support amagsumov

    (@amagsumov)

    Hello @markofapproval

    Unfortunately, we don’t have such kind of hooks.

    Anyway, if you’d like to exclude some form from spam checking, please use this manual:
    https://cleantalk.org/help/exclusion-from-anti-spam-checking

    P.s, If you’d like to disable protection because of some issue with spam filtration, pelase let me know. I’ll do my best to fix this.

    Thread Starter markofapproval

    (@markofapproval)

    Hi, the situation is that I want the customer to buy a product through woocommerce. I have no issues with cleantalk running on that.

    But when the payment complete trigger is fired, I want to programmatically add them to a hidden gravity form.

    I’m assuming CleanTalk would once again trigger (unncessarily) sending the same data back to its servers for checking again. This would seriously slow down the response to the user as well as create unncessary overhead on my server and yours.

    Surely I could just remove action right?

    Plugin Support amagsumov

    (@amagsumov)

    I’m not sure if this information would be catched by the plugin in case the user won’t fill it manually.

    Anyway, if these requests are still catched, you could disable the following options in the plugin settings:

      Custom contact forms
      Check all POST data

    Also, make note, removed action will be added back again when you update the plugin.

    • This reply was modified 3 years, 1 month ago by amagsumov.
    Thread Starter markofapproval

    (@markofapproval)

    I can validate that adding a user who signs up by Woocommerce to Gravity forms (programmatically through the API) adds an extra 4 seconds onto the processing time. I ran some tests.

    Surely you would have used a specific Gravity Form hook to integrate Cleantalk with it. Wouldn’t it just be a matter of me doing a remove_action( ) call? Do you have a developer reference to save me searching these hooks?

    Thanks!
    Mark.

    Plugin Author alexandergull

    (@alexandergull)

    I transfer your question to the developer.
    We will contact you soon.

    Hello,

    All the hooks related to Gravity are here:
    https://github.com/CleanTalk/wordpress-antispam/blob/c5415c69b713e689a3f4e4ca89afb92ef57b2f63/inc/cleantalk-public.php#L276

    You can remove it if you want.

    Thread Starter markofapproval

    (@markofapproval)

    Thank you to both you of. I disabled it through the settings earlier, and put my contact form on another site, but this will certainly come in handy. Appreciated!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Disabling for Gravity Forms’ is closed to new replies.