Support » Plugin: Contact Form 7 Honeypot » Honeypot with WPJM form

  • mayuxi


    Really love the plugin and gave it 5 stars.

    I have a weird question. On my website I have WordPress Job Manager plugin (by Automatic), and it has integration with reCaptcha, but this doesn’t work in China (google is blocked here). So I’m looking for solution.

    For my CF7 I use Honeypot, and would like to use this method for WPJM forms.

    Is there any hooks/functions of the plugin I can use to integrate it with WPJM. Here is the link for reCaptcha manual integration for WPJM. I thought, maybe I can somehow connect two plugins.


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Ryan


    Unfortunately the plugin hooks directly into CF7’s functions for building and injecting its inputs. So no way to integrate it directly.

    That said, looking at the link to the Recaptcha integration, it looks like WPJM could definitely use a honeypot. I don’t have time at the moment to work it out exactly, but essentially you’d need to modify the recaptcha_field() function (and probably rename it for clarity in your code). You would use that function to insert a blank <input type="text"> field (you could view the CF7 honeypot HTML for general structure — just view the source of your CF7 form). Then you’d modify the logic of the validate_recaptcha_field() function (again, maybe change “recaptcha” to “honeypot” for clarity) to check if the field is empty (success) or not (fail).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.